Initial commit
This commit is contained in:
commit
cfcc57a8bd
353 changed files with 18756 additions and 0 deletions
13
module/aspect/software/browser/brave.nix
Normal file
13
module/aspect/software/browser/brave.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
brave = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.brave
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/browser/librewolf.nix
Normal file
13
module/aspect/software/browser/librewolf.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
librewolf = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.librewolf
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/code/editor/gui/codium.nix
Normal file
13
module/aspect/software/code/editor/gui/codium.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
code-editor-gui = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.vscodium
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/code/editor/gui/zed.nix
Normal file
13
module/aspect/software/code/editor/gui/zed.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
code-editor-gui = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.zed-editor
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/code/editor/tty/helix.nix
Normal file
13
module/aspect/software/code/editor/tty/helix.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
code-editor-tty = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.helix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/code/editor/tty/neovim.nix
Normal file
13
module/aspect/software/code/editor/tty/neovim.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
code-editor-tty = {
|
||||
homeManager = {
|
||||
programs = {
|
||||
neovim = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/code/editor/tty/vim.nix
Normal file
13
module/aspect/software/code/editor/tty/vim.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
code-editor-tty = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.vim
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
0
module/aspect/software/code/package-manager/bun.wip
Normal file
0
module/aspect/software/code/package-manager/bun.wip
Normal file
0
module/aspect/software/code/package-manager/cargo.wip
Normal file
0
module/aspect/software/code/package-manager/cargo.wip
Normal file
0
module/aspect/software/code/package-manager/npm.wip
Normal file
0
module/aspect/software/code/package-manager/npm.wip
Normal file
13
module/aspect/software/code/package-manager/uv.nix
Normal file
13
module/aspect/software/code/package-manager/uv.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
uv = {
|
||||
nixos =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.uv
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/code/runtime/nodejs.nix
Normal file
14
module/aspect/software/code/runtime/nodejs.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
nodejs = {
|
||||
nixos =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.nodejs_24
|
||||
pkgs.fnm
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
15
module/aspect/software/code/runtime/python.nix
Normal file
15
module/aspect/software/code/runtime/python.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
den.aspects = {
|
||||
python = {
|
||||
nixos =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.python311
|
||||
pkgs.python313
|
||||
pkgs.python313Packages.pygobject3
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
0
module/aspect/software/code/runtime/rust.wip
Normal file
0
module/aspect/software/code/runtime/rust.wip
Normal file
283
module/aspect/software/code/version-control/git.nix
Normal file
283
module/aspect/software/code/version-control/git.nix
Normal file
|
|
@ -0,0 +1,283 @@
|
|||
_:
|
||||
{
|
||||
den.aspects = {
|
||||
version-control = {
|
||||
homeManager =
|
||||
{ config, ... }:
|
||||
{
|
||||
programs = {
|
||||
git = {
|
||||
enable = true;
|
||||
settings.user.name = _.config.meta.${config.home.username}.username;
|
||||
settings.user.email = _.config.meta.${config.home.username}.email;
|
||||
ignores = [
|
||||
".direnv/"
|
||||
"result"
|
||||
];
|
||||
settings.alias = {
|
||||
ll = "log --stat --abbrev-commit";
|
||||
co = "checkout";
|
||||
patch = "format-patch --stdout HEAD~1";
|
||||
rpatch = "reset --hard HEAD~1";
|
||||
lgg = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative";
|
||||
lol = "log --graph --decorate --pretty=oneline --abbrev-commit";
|
||||
lola = "log --graph --decorate --pretty=oneline --abbrev-commit --all";
|
||||
clb = "!/home/user/bin/git-clean-local-branches";
|
||||
pf = "push --force-with-lease";
|
||||
rewrite = "rebase - x 'git commit - -amend - C HEAD - -date=\"$(date -R)\" && sleep 1.05'";
|
||||
# From https://gist.github.com/pksunkara/988716
|
||||
a = "add --all";
|
||||
ai = "add -i";
|
||||
# -----
|
||||
ap = "apply";
|
||||
as = "apply --stat";
|
||||
ac = "apply --check";
|
||||
# -----
|
||||
ama = "am --abort";
|
||||
amr = "am --resolved";
|
||||
ams = "am --skip";
|
||||
# -----
|
||||
b = "branch";
|
||||
ba = "branch -a";
|
||||
bd = "branch -d";
|
||||
bdd = "branch -D";
|
||||
br = "branch -r";
|
||||
bc = "rev-parse --abbrev-ref HEAD";
|
||||
bu = ''!git rev-parse --abbrev-ref --symbolic-full-name "@{u}"'';
|
||||
recent-branches = "branch --sort=-committerdate";
|
||||
# -----
|
||||
c = "commit";
|
||||
ca = "commit -a";
|
||||
cm = "commit -m";
|
||||
cam = "commit -am";
|
||||
cem = "commit --allow-empty -m";
|
||||
cd = "commit --amend";
|
||||
cad = "commit -a --amend";
|
||||
ced = "commit --allow-empty --amend";
|
||||
# -----
|
||||
cl = "clone";
|
||||
cld = "clone --depth 1";
|
||||
clg = "!sh -c 'git clone git://github.com/$1 $(basename $1)' -";
|
||||
clgp = "!sh -c 'git clone git@github.com:$(git config --get user.username)/$1 $1' -";
|
||||
# -----
|
||||
co-pr = "!sh -c 'git fetch origin refs/pull/$1/head:pull/$1 && git checkout pull/$1' -";
|
||||
cp = "cherry-pick";
|
||||
cpa = "cherry-pick --abort";
|
||||
cpc = "cherry-pick --continue";
|
||||
# -----
|
||||
d = "diff";
|
||||
dp = "diff --patience";
|
||||
dc = "diff --cached";
|
||||
dk = "diff --check";
|
||||
dck = "diff --cached --check";
|
||||
dt = "difftool";
|
||||
dct = "difftool --cached";
|
||||
# -----
|
||||
f = "fetch";
|
||||
fo = "fetch origin";
|
||||
fu = "fetch upstream";
|
||||
# -----
|
||||
fp = "format-patch";
|
||||
# -----
|
||||
fk = "fsck";
|
||||
# -----
|
||||
g = "grep -p";
|
||||
# -----
|
||||
l = "log --oneline";
|
||||
lg = "log --oneline --graph --decorate";
|
||||
# -----
|
||||
ls = "ls-files";
|
||||
lsf = "!git ls-files | grep -i";
|
||||
# -----
|
||||
m = "merge";
|
||||
ma = "merge --abort";
|
||||
mc = "merge --continue";
|
||||
ms = "merge --skip";
|
||||
# -----
|
||||
o = "checkout";
|
||||
ob = "checkout -b";
|
||||
# -----
|
||||
pr = "prune -v";
|
||||
# -----
|
||||
ps = "push";
|
||||
psf = "push -f";
|
||||
psu = "push -u";
|
||||
pst = "push --tags";
|
||||
# -----
|
||||
pso = "push origin";
|
||||
psao = "push --all origin";
|
||||
psfo = "push -f origin";
|
||||
psuo = "push -u origin";
|
||||
# -----
|
||||
psom = "push origin master";
|
||||
psaom = "push --all origin master";
|
||||
psfom = "push -f origin master";
|
||||
psuom = "push -u origin master";
|
||||
psoc = "!git push origin $(git bc)";
|
||||
psaoc = "!git push --all origin $(git bc)";
|
||||
psfoc = "!git push -f origin $(git bc)";
|
||||
psuoc = "!git push -u origin $(git bc)";
|
||||
psdc = "!git push origin :$(git bc)";
|
||||
# -----
|
||||
pl = "pull";
|
||||
pb = "pull --rebase";
|
||||
# -----
|
||||
plo = "pull origin";
|
||||
pbo = "pull --rebase origin";
|
||||
plom = "pull origin master";
|
||||
ploc = "!git pull origin $(git bc)";
|
||||
pbom = "pull --rebase origin master";
|
||||
pboc = "!git pull --rebase origin $(git bc)";
|
||||
# -----
|
||||
plu = "pull upstream";
|
||||
plum = "pull upstream master";
|
||||
pluc = "!git pull upstream $(git bc)";
|
||||
pbum = "pull --rebase upstream master";
|
||||
pbuc = "!git pull --rebase upstream $(git bc)";
|
||||
# -----
|
||||
rb = "rebase";
|
||||
rba = "rebase --abort";
|
||||
rbc = "rebase --continue";
|
||||
rbi = "rebase --interactive";
|
||||
rbs = "rebase --skip";
|
||||
# -----
|
||||
re = "reset";
|
||||
rh = "reset HEAD";
|
||||
reh = "reset --hard";
|
||||
rem = "reset --mixed";
|
||||
res = "reset --soft";
|
||||
rehh = "reset --hard HEAD";
|
||||
remh = "reset --mixed HEAD";
|
||||
resh = "reset --soft HEAD";
|
||||
# -----
|
||||
r = "remote";
|
||||
ra = "remote add";
|
||||
rr = "remote rm";
|
||||
rv = "remote -v";
|
||||
rn = "remote rename";
|
||||
rp = "remote prune";
|
||||
rs = "remote show";
|
||||
rao = "remote add origin";
|
||||
rau = "remote add upstream";
|
||||
rro = "remote remove origin";
|
||||
rru = "remote remove upstream";
|
||||
rso = "remote show origin";
|
||||
rsu = "remote show upstream";
|
||||
rpo = "remote prune origin";
|
||||
rpu = "remote prune upstream";
|
||||
# -----
|
||||
rmf = "rm -f";
|
||||
rmrf = "rm -r -f";
|
||||
# -----
|
||||
s = "status";
|
||||
sb = "status -s -b";
|
||||
# -----
|
||||
sa = "stash apply";
|
||||
sc = "stash clear";
|
||||
sd = "stash drop";
|
||||
sl = "stash list";
|
||||
sp = "stash pop";
|
||||
ss = "stash save";
|
||||
ssk = "stash save -k";
|
||||
sw = "stash show";
|
||||
st = "!git stash list | wc -l 2>/dev/null | grep -oEi '[0-9][0-9]*'";
|
||||
# -----
|
||||
t = "tag";
|
||||
td = "tag -d";
|
||||
# -----
|
||||
w = "show";
|
||||
wp = "show -p";
|
||||
wr = "show -p --no-color";
|
||||
# -----
|
||||
subadd = "!sh -c 'git submodule add git://github.com/$1 $2/$(basename $1)' -";
|
||||
subup = "submodule update --init --recursive";
|
||||
subpull = "!git submodule foreach git pull --tags origin master";
|
||||
# -----
|
||||
assume = "update-index --assume-unchanged";
|
||||
unassume = "update-index --no-assume-unchanged";
|
||||
assumed = "!git ls -v | grep ^h | cut -c 3-";
|
||||
unassumeall = "!git assumed | xargs git unassume";
|
||||
assumeall = "!git status -s | awk {'print $2'} | xargs git assume";
|
||||
# -----
|
||||
bump = ''!sh -c 'git commit -am "Version bump v$1" && git psuoc && git release $1' -'';
|
||||
release = "!sh -c 'git tag v$1 && git pst' -";
|
||||
unrelease = "!sh -c 'git tag -d v$1 && git pso :v$1' -";
|
||||
merged = "!sh -c 'git o master && git plom && git bd $1 && git rpo' -";
|
||||
aliases = "!git config -l | grep alias | cut -c 7-";
|
||||
snap = "!git stash save 'snapshot = $(date)' && git stash apply 'stash@{0}'";
|
||||
bare = "!sh -c 'git symbolic-ref HEAD refs/heads/$1 && git rm --cached -r . && git clean -xfd' -";
|
||||
whois = ''!sh -c 'git log -i -1 --author="$1" --pretty="format:%an <%ae>"' -'';
|
||||
serve = "daemon --reuseaddr --verbose --base-path=. --export-all ./.git";
|
||||
# -----
|
||||
behind = "!git rev-list --left-only --count $(git bu)...HEAD";
|
||||
ahead = "!git rev-list --right-only --count $(git bu)...HEAD";
|
||||
# -----
|
||||
ours = "!f() { git checkout --ours $@ && git add $@; }; f";
|
||||
theirs = "!f() { git checkout --theirs $@ && git add $@; }; f";
|
||||
subrepo = "!sh -c 'git filter-branch --prune-empty --subdirectory-filter $1 master' -";
|
||||
human = "name-rev --name-only --refs=refs/heads/*";
|
||||
};
|
||||
settings = {
|
||||
branch = {
|
||||
autosetuprebase = "always";
|
||||
};
|
||||
color = {
|
||||
ui = "auto";
|
||||
};
|
||||
core = {
|
||||
autocrlf = "input";
|
||||
editor = "micro";
|
||||
safecrlf = "warn";
|
||||
excludesfile = "~/.gitignore_global";
|
||||
};
|
||||
diff = {
|
||||
mnemonicprefix = true;
|
||||
};
|
||||
include = {
|
||||
path = "~/.gitconfig.local";
|
||||
};
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
merge = {
|
||||
conflictstyle = "diff3";
|
||||
commit = "no";
|
||||
ff = "no";
|
||||
tool = "splice";
|
||||
};
|
||||
push = {
|
||||
autoSetupRemote = true;
|
||||
default = "current";
|
||||
};
|
||||
pull = {
|
||||
default = "matching";
|
||||
autoSetupRemote = true;
|
||||
rebase = true;
|
||||
useForceIfIncludes = true;
|
||||
};
|
||||
rebase = {
|
||||
autostash = true;
|
||||
autosquash = true;
|
||||
instructionFormat = "(%an <%ae>) %s";
|
||||
updateRefs = true;
|
||||
};
|
||||
rerere = {
|
||||
enabled = true;
|
||||
};
|
||||
sequence = {
|
||||
editor = "code --wait";
|
||||
};
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
inherit (_.config.meta.${config.home.username}.key);
|
||||
};
|
||||
commit = {
|
||||
gpgsign = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
18
module/aspect/software/code/version-control/github.nix
Normal file
18
module/aspect/software/code/version-control/github.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
den.aspects = {
|
||||
version-control = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
gh = {
|
||||
enable = true;
|
||||
extensions = [
|
||||
pkgs.gh-copilot
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
274
module/aspect/software/code/version-control/jujutsu.nix
Normal file
274
module/aspect/software/code/version-control/jujutsu.nix
Normal file
|
|
@ -0,0 +1,274 @@
|
|||
_:
|
||||
{
|
||||
den.aspects = {
|
||||
version-control = {
|
||||
homeManager =
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.watchman
|
||||
];
|
||||
programs = {
|
||||
jujutsu = {
|
||||
enable = true;
|
||||
settings = {
|
||||
fsmonitor = {
|
||||
backend = "watchman";
|
||||
watchman.register-snapshot-trigger = true;
|
||||
};
|
||||
snapshot.max-new-file-size = "15M";
|
||||
user = {
|
||||
inherit (_.config.meta.${config.home.username}.fullname);
|
||||
inherit (_.config.meta.${config.home.username}.email);
|
||||
};
|
||||
ui = {
|
||||
default-command = "l";
|
||||
diff-editor = ":builtin";
|
||||
graph.style = "square";
|
||||
pager = ":builtin";
|
||||
show-cryptographic-signatures = true;
|
||||
};
|
||||
git = {
|
||||
private-commits = "description(glob:'wip:*') | description(glob:'private:*')";
|
||||
auto-local-bookmark = true;
|
||||
fetch = [
|
||||
"origin"
|
||||
];
|
||||
write-change-id-header = true;
|
||||
};
|
||||
revset-aliases = {
|
||||
"immutable_heads()" = "trunk() | tags() | remote_bookmarks(remote=origin)";
|
||||
"closest_bookmark(to)" = "heads(::to & bookmarks())";
|
||||
"closest_pushable(to)" =
|
||||
"heads(::to & mutable() & ~description(exact:\"\") & (~empty() | merges()))";
|
||||
# Source: https://github.com/bryceberger/config/blob/38c6caf0823517b5423b2ca2a25f7fd79d445e0e/home/jj/config.toml
|
||||
"mine()" = "author(exact:'@name@') | author(exact:'@email@')";
|
||||
"wip()" = "description(glob:'wip:*')";
|
||||
"private()" = "description(glob:'private:*')";
|
||||
"stack()" = "ancestors(mutable() & (..@ | @::), 2)";
|
||||
"stack(x)" = "ancestors(mutable() & (..x | x::), 2)";
|
||||
"stack(x, n)" = "ancestors(mutable() & (..x | x::), n)";
|
||||
"streams()" = "heads(::@ & bookmarks())";
|
||||
"streams(x)" = "heads(::x & bookmarks())";
|
||||
"base_point(x)" = "heads(immutable_heads() & ::x)";
|
||||
"open()" = "stack(trunk().. & mine(), 2)";
|
||||
"open(n)" = "stack(trunk().. & mine(), n)";
|
||||
"why_immutable(r)" = "(r & immutable()) | roots(r:: & immutable_heads())";
|
||||
};
|
||||
revsets = {
|
||||
log = ''
|
||||
none()
|
||||
| base_point(@)
|
||||
| ancestors(@, 10) & trunk()..@
|
||||
| trunk()
|
||||
| bookmarks()
|
||||
| mutable() & visible_heads()
|
||||
| fork_point(mutable() & visible_heads())
|
||||
| (mutable() & merges())-
|
||||
'';
|
||||
short-prefixes = "stack(@)";
|
||||
};
|
||||
|
||||
template-aliases = {
|
||||
"link(target, text)" =
|
||||
''raw_escape_sequence("\x1b]8;;" ++ target ++ "\x1b\\") ++ label("text link", text) ++ raw_escape_sequence("\x1b]8;;\x1b\\")'';
|
||||
"italic(text)" = ''raw_escape_sequence("\x1b[3m") ++ text ++ raw_escape_sequence("\x1b[23m")'';
|
||||
"dim(text)" = ''raw_escape_sequence("\x1b[2m") ++ text ++ raw_escape_sequence("\x1b[22m")'';
|
||||
|
||||
"commit_description_verbose(commit)" = ''
|
||||
concat(
|
||||
commit_description(commit),
|
||||
"JJ: ignore-rest\n",
|
||||
diff.git(),
|
||||
)
|
||||
'';
|
||||
"commit_description(commit)" = ''
|
||||
concat(
|
||||
commit.description(), "\n",
|
||||
"JJ: This commit contains the following changes:\n",
|
||||
indent("JJ: ", diff.stat(72)),
|
||||
)
|
||||
'';
|
||||
|
||||
annotate_header = ''
|
||||
if(first_line_in_hunk, surround("\n", "\n", separate("\n",
|
||||
separate(" ",
|
||||
format_short_change_id_with_hidden_and_divergent_info(commit),
|
||||
format_short_id(commit.commit_id()),
|
||||
format_short_cryptographic_signature(commit.signature()),
|
||||
commit.description().first_line(),
|
||||
),
|
||||
commit_timestamp(commit).local().format('%Y-%m-%d %H:%M:%S')
|
||||
++ " "
|
||||
++ commit.author(),
|
||||
))) ++ pad_start(4, line_number) ++ ": " ++ content
|
||||
'';
|
||||
|
||||
# 00000000 ........ yyyy-mm-dd HH:MM:SS 1:
|
||||
annotate = ''
|
||||
if(first_line_in_hunk,
|
||||
separate(" ",
|
||||
format_short_id(commit.change_id()),
|
||||
pad_end(8, truncate_end(8, commit.author().email().local())),
|
||||
commit_timestamp(commit).local().format('%Y-%m-%d %H:%M:%S'),
|
||||
),
|
||||
pad_end(37, ""),
|
||||
) ++ pad_start(4, line_number) ++ ": " ++ content
|
||||
'';
|
||||
|
||||
"format_commit_info(commit)" = ''
|
||||
separate(" ",
|
||||
format_short_change_id_with_hidden_and_divergent_info(commit),
|
||||
format_short_id(commit.commit_id()),
|
||||
format_short_cryptographic_signature(commit.signature()),
|
||||
)'';
|
||||
|
||||
"format_commit_bookmarks(commit)" = ''
|
||||
separate(" ",
|
||||
commit.working_copies(),
|
||||
commit.tags(),
|
||||
commit.bookmarks(),
|
||||
)'';
|
||||
|
||||
"format_description(commit)" = ''
|
||||
separate(" ",
|
||||
if(empty, label("empty", "(empty)")),
|
||||
coalesce(
|
||||
if(commit.description(),
|
||||
truncate_end(48, commit.description().first_line(), " [...]"),
|
||||
if(!empty, label("description placeholder", "(no description)")),
|
||||
)
|
||||
)
|
||||
)'';
|
||||
|
||||
"format_author(commit)" = ''
|
||||
separate(" ",
|
||||
commit.author().email(),
|
||||
commit.author().name(),
|
||||
)
|
||||
'';
|
||||
|
||||
"format_commit_date(commit)" = ''
|
||||
separate(" ",
|
||||
commit_timestamp(commit).local().format('%Y-%m-%d %H:%M:%S'),
|
||||
)
|
||||
'';
|
||||
|
||||
default_log = ''
|
||||
separate(" ",
|
||||
format_commit_info(self),
|
||||
format_commit_bookmarks(self),
|
||||
format_description(self),
|
||||
format_author(self),
|
||||
format_commit_date(self),
|
||||
)'';
|
||||
};
|
||||
|
||||
templates = {
|
||||
draft_commit_description = "commit_description(self)";
|
||||
|
||||
file_annotate = "annotate_header";
|
||||
|
||||
log = "default_log";
|
||||
log_node = ''
|
||||
label("node", coalesce(
|
||||
if(!self, label("elided", "~")),
|
||||
label(
|
||||
separate(" ",
|
||||
if(current_working_copy, "working_copy"),
|
||||
if(conflict, "conflict"),
|
||||
if(immutable, "immutable"),
|
||||
if(description.starts_with("wip:"), "wip"),
|
||||
if(description.starts_with("private:"), "wip"),
|
||||
),
|
||||
coalesce(
|
||||
if(current_working_copy, "@"),
|
||||
if(conflict, "x"),
|
||||
if(immutable, "◆"),
|
||||
if(description.starts_with("wip:"), "!"),
|
||||
if(description.starts_with("private:"), "◇"),
|
||||
"○",
|
||||
)
|
||||
)
|
||||
))
|
||||
'';
|
||||
};
|
||||
|
||||
aliases = {
|
||||
tug = [
|
||||
"bookmark"
|
||||
"move"
|
||||
"--from"
|
||||
"closest_bookmark(@)"
|
||||
"--to"
|
||||
"closest_pushable(@)"
|
||||
];
|
||||
ds = [
|
||||
"diff"
|
||||
"--stat"
|
||||
];
|
||||
dv = [
|
||||
"--config=templates.draft_commit_description=commit_description_verbose(self)"
|
||||
"describe"
|
||||
];
|
||||
# Too slow - TODO investigate why
|
||||
# l = ["log" "-T" "builtin_log_compact"];
|
||||
# ll = ["log" "-T" "builtin_log_detailed"];
|
||||
l = [
|
||||
"log"
|
||||
"-r"
|
||||
"all()"
|
||||
];
|
||||
ll = [
|
||||
"log"
|
||||
"-r"
|
||||
"all()"
|
||||
"-T"
|
||||
"builtin_log_detailed"
|
||||
];
|
||||
xl = [
|
||||
"log"
|
||||
"-T"
|
||||
"builtin_log_detailed"
|
||||
];
|
||||
evolve = [
|
||||
"rebase"
|
||||
"--skip-empty"
|
||||
"-d"
|
||||
"main"
|
||||
];
|
||||
streams = [
|
||||
"log"
|
||||
"--no-graph"
|
||||
"-r"
|
||||
"streams()"
|
||||
"-T"
|
||||
"bookmarks.map(|b| b ++ ' ')"
|
||||
];
|
||||
open = [
|
||||
"log"
|
||||
"-r"
|
||||
"open()"
|
||||
];
|
||||
stack = [
|
||||
"log"
|
||||
"-r"
|
||||
"stack()"
|
||||
];
|
||||
s = [ "stack" ];
|
||||
yank = [
|
||||
"rebase"
|
||||
"--skip-emptied"
|
||||
"-s"
|
||||
"all:roots(mutable() & mine())"
|
||||
"-d"
|
||||
"trunk()"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
16
module/aspect/software/code/version-control/lazygit.nix
Normal file
16
module/aspect/software/code/version-control/lazygit.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
den.aspects = {
|
||||
version-control = {
|
||||
homeManager = {
|
||||
programs = {
|
||||
lazygit = {
|
||||
enable = true;
|
||||
settings = {
|
||||
git.overrideGpg = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
11
module/aspect/software/code/version-control/mergiraf.nix
Normal file
11
module/aspect/software/code/version-control/mergiraf.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
den.aspects = {
|
||||
version-control = {
|
||||
homeManager = {
|
||||
programs.mergiraf = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
version-control = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.nixpkgs-review
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/file-manager/file-sync/syncthing.nix
Normal file
14
module/aspect/software/file-manager/file-sync/syncthing.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
syncthing = {
|
||||
nixos =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.syncthing
|
||||
pkgs.syncthingtray
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
11
module/aspect/software/file-manager/file-sync/unison.nix
Normal file
11
module/aspect/software/file-manager/file-sync/unison.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
den.aspects = {
|
||||
unison = {
|
||||
homeManager =
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.unison ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/file-manager/gui/ark-archiver.nix
Normal file
13
module/aspect/software/file-manager/gui/ark-archiver.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
ark-archiver = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.kdePackages.ark
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/file-manager/gui/dolphin.nix
Normal file
13
module/aspect/software/file-manager/gui/dolphin.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
dolphin = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.kdePackages.dolphin
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/file-manager/gui/krusader.nix
Normal file
13
module/aspect/software/file-manager/gui/krusader.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
krusader = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.krusader
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
31
module/aspect/software/file-manager/gui/nemo.nix
Normal file
31
module/aspect/software/file-manager/gui/nemo.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
den.aspects = {
|
||||
nemo = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.nemo-with-extensions
|
||||
pkgs.latest.nemo-preview
|
||||
pkgs.latest.nemo-seahorse
|
||||
pkgs.latest.nemo-fileroller
|
||||
];
|
||||
gtk.gtk3.extraConfig = {
|
||||
GtkFileChooserBackend = "nemo";
|
||||
};
|
||||
gtk.gtk4.extraConfig = {
|
||||
GtkFileChooserBackend = "nemo";
|
||||
};
|
||||
xdg.desktopEntries = {
|
||||
"nemo" = {
|
||||
name = "Nemo";
|
||||
exec = "nemo %U";
|
||||
terminal = false;
|
||||
categories = [ "System" "FileManager" ];
|
||||
mimeType = [ "inode/directory" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/file-manager/gui/spacedrive.nix
Normal file
13
module/aspect/software/file-manager/gui/spacedrive.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
spacedrive = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.spacedrive
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/file-manager/tty/yazi.nix
Normal file
14
module/aspect/software/file-manager/tty/yazi.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
yazi = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.yazi
|
||||
pkgs.latest.yaziPlugins.sudo
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
17
module/aspect/software/software-gui/affinity.nix
Normal file
17
module/aspect/software/software-gui/affinity.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
flake-file.inputs = {
|
||||
affinity-nix.url = "github:mrshmllow/affinity-nix";
|
||||
};
|
||||
|
||||
den.aspects = {
|
||||
affinity = {
|
||||
homeManager =
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
inputs.affinity-nix.packages.x86_64-linux.v3
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
18
module/aspect/software/software-gui/antimicrox.nix
Normal file
18
module/aspect/software/software-gui/antimicrox.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
den.aspects = {
|
||||
antimicrox = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.antimicrox
|
||||
];
|
||||
};
|
||||
nixos = {
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="misc", KERNEL=="uinput", OPTIONS+="static_node=uinput", TAG+="uaccess"
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/audacity.nix
Normal file
13
module/aspect/software/software-gui/audacity.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
audacity = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.audacity
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/blender-hip-latest.nix
Normal file
13
module/aspect/software/software-gui/blender-hip-latest.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
blender-hip-latest = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.blender-hip
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
flake input
|
||||
persystem overlay
|
||||
|
||||
|
||||
|
||||
den.aspects = {
|
||||
blender-hip-v45 = {
|
||||
nixos =
|
||||
{ blender-hip-v45, ... }:
|
||||
{
|
||||
systemPackages = [
|
||||
blender-hip-v45.blender-hip
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/software-gui/bottles.nix
Normal file
14
module/aspect/software/software-gui/bottles.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
bottles = {
|
||||
flatpak = {
|
||||
services.flatpak.packages = [
|
||||
{
|
||||
appId = "com.usebottles.bottles";
|
||||
origin = "flathub";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/discord.nix
Normal file
13
module/aspect/software/software-gui/discord.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
discord = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.local.chromium-discord
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/software-gui/gimp.nix
Normal file
14
module/aspect/software/software-gui/gimp.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
gimp = {
|
||||
flatpak = {
|
||||
services.flatpak.packages = [
|
||||
{
|
||||
appId = "org.gimp.GIMP";
|
||||
origin = "flathub";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/software-gui/inkscape.nix
Normal file
14
module/aspect/software/software-gui/inkscape.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
inkscape = {
|
||||
flatpak = {
|
||||
services.flatpak.packages = [
|
||||
{
|
||||
appId = "org.inkscape.Inkscape";
|
||||
origin = "flathub";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/software-gui/jdownloader.nix
Normal file
14
module/aspect/software/software-gui/jdownloader.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
jdownloader = {
|
||||
flatpak = {
|
||||
services.flatpak.packages = [
|
||||
{
|
||||
appId = "org.jdownloader.JDownloader";
|
||||
origin = "flathub";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/software-gui/kdenlive.nix
Normal file
14
module/aspect/software/software-gui/kdenlive.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
kdenlive = {
|
||||
flatpak = {
|
||||
services.flatpak.packages = [
|
||||
{
|
||||
appId = "org.kde.kdenlive";
|
||||
origin = "flathub";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/software-gui/krita.nix
Normal file
14
module/aspect/software/software-gui/krita.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
krita = {
|
||||
flatpak = {
|
||||
services.flatpak.packages = [
|
||||
{
|
||||
appId = "org.kde.krita";
|
||||
origin = "flathub";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/media-player/haruna.nix
Normal file
13
module/aspect/software/software-gui/media-player/haruna.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
haruna = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.haruna
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
0
module/aspect/software/software-gui/media-player/mpv.wip
Normal file
0
module/aspect/software/software-gui/media-player/mpv.wip
Normal file
13
module/aspect/software/software-gui/netbird.nix
Normal file
13
module/aspect/software/software-gui/netbird.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
netbird = {
|
||||
nixos = {
|
||||
services.netbird = {
|
||||
enable = true;
|
||||
ui.enable = true;
|
||||
useRoutingFeatures = "both";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
22
module/aspect/software/software-gui/obs-studio.nix
Normal file
22
module/aspect/software/software-gui/obs-studio.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
den.aspects = {
|
||||
obs-studio = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
wlrobs
|
||||
obs-pipewire-audio-capture
|
||||
obs-vkcapture
|
||||
obs-source-clone
|
||||
obs-move-transition
|
||||
obs-composite-blur
|
||||
obs-backgroundremoval
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/obsidian.nix
Normal file
13
module/aspect/software/software-gui/obsidian.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
obsidian = {
|
||||
homeManager =
|
||||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.obsidian
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
16
module/aspect/software/software-gui/open-tablet.nix
Normal file
16
module/aspect/software/software-gui/open-tablet.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
den.aspects = {
|
||||
open-tablet = {
|
||||
nixos = {
|
||||
hardware.opentabletdriver = {
|
||||
enable = true;
|
||||
daemon.enable = true;
|
||||
blacklistedKernelModules = [
|
||||
"hid-uclogic"
|
||||
"wacom"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/qbittorrent.nix
Normal file
13
module/aspect/software/software-gui/qbittorrent.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
qbittorrent = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.qbittorrent
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
21
module/aspect/software/software-gui/shotcut.nix
Normal file
21
module/aspect/software/software-gui/shotcut.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
den.aspects = {
|
||||
shotcut = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
(pkgs.symlinkJoin {
|
||||
name = "shotcut";
|
||||
buildInputs = [ pkgs.makeWrapper ];
|
||||
paths = [ pkgs.shotcut ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/shotcut \
|
||||
--unset QT_QPA_PLATFORMTHEME
|
||||
'';
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/utility/bleachbit.nix
Normal file
13
module/aspect/software/software-gui/utility/bleachbit.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
tool-gui = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.bleachbit
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/utility/copyq.nix
Normal file
13
module/aspect/software/software-gui/utility/copyq.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
tool-gui = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.copyq
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/utility/cpu-x.nix
Normal file
13
module/aspect/software/software-gui/utility/cpu-x.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
tool-gui = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.cpu-x
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/utility/fsearch.nix
Normal file
13
module/aspect/software/software-gui/utility/fsearch.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
tool-gui = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.fsearch
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/utility/gparted.nix
Normal file
13
module/aspect/software/software-gui/utility/gparted.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
tool-gui = {
|
||||
nixos =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.gparted
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/utility/qdirstat.nix
Normal file
13
module/aspect/software/software-gui/utility/qdirstat.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
tool-gui = {
|
||||
nixos =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.qdirstat
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-gui/utility/smile.nix
Normal file
13
module/aspect/software/software-gui/utility/smile.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
tool-gui = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.smile
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
20
module/aspect/software/software-gui/veracrypt.nix
Normal file
20
module/aspect/software/software-gui/veracrypt.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
den.aspects = {
|
||||
veracrypt = {
|
||||
nixos =
|
||||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.veracrypt
|
||||
];
|
||||
};
|
||||
homeManager =
|
||||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.veracrypt
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/software-gui/zen-browser.nix
Normal file
14
module/aspect/software/software-gui/zen-browser.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
zen-browser = {
|
||||
flatpak = {
|
||||
services.flatpak.packages = [
|
||||
{
|
||||
appId = "app.zen_browser.zen";
|
||||
origin = "flathub";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-tty/bat.nix
Normal file
13
module/aspect/software/software-tty/bat.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager = {
|
||||
programs = {
|
||||
bat = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-tty/bottom.nix
Normal file
13
module/aspect/software/software-tty/bottom.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager = {
|
||||
programs = {
|
||||
bottom = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-tty/btop.nix
Normal file
13
module/aspect/software/software-tty/btop.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager = {
|
||||
programs = {
|
||||
btop = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-tty/curl.nix
Normal file
13
module/aspect/software/software-tty/curl.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.curl
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
19
module/aspect/software/software-tty/direnv.nix
Normal file
19
module/aspect/software/software-tty/direnv.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager = {
|
||||
programs = {
|
||||
direnv = {
|
||||
nix-direnv.enable = true;
|
||||
enable = true;
|
||||
config = {
|
||||
global = {
|
||||
hide_env_diff = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
12
module/aspect/software/software-tty/eza.nix
Normal file
12
module/aspect/software/software-tty/eza.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager = {
|
||||
programs = {
|
||||
eza.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
13
module/aspect/software/software-tty/fastfetch.nix
Normal file
13
module/aspect/software/software-tty/fastfetch.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.fastfetch
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-tty/fd.nix
Normal file
13
module/aspect/software/software-tty/fd.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.fd
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
28
module/aspect/software/software-tty/fish.nix
Normal file
28
module/aspect/software/software-tty/fish.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
nixos = {
|
||||
programs.fish.enable = true;
|
||||
};
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.shell.enableFishIntegration = true;
|
||||
programs = {
|
||||
fish = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
{
|
||||
name = "autopair";
|
||||
src = pkgs.fishPlugins.autopair;
|
||||
}
|
||||
];
|
||||
functions = {
|
||||
fish_greeting = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/software-tty/fzf.nix
Normal file
14
module/aspect/software/software-tty/fzf.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager = {
|
||||
programs = {
|
||||
fzf = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-tty/gnumake.nix
Normal file
13
module/aspect/software/software-tty/gnumake.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.gnumake
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
24
module/aspect/software/software-tty/media-tool.nix
Normal file
24
module/aspect/software/software-tty/media-tool.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
nixos =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.ffmpeg_8
|
||||
pkgs.ffmpeg-full
|
||||
# -----
|
||||
pkgs.gst_all_1.gstreamer
|
||||
pkgs.gst_all_1.gst-plugins-base
|
||||
pkgs.gst_all_1.gst-plugins-good
|
||||
pkgs.gst_all_1.gst-plugins-bad
|
||||
pkgs.gst_all_1.gst-plugins-ugly
|
||||
pkgs.gst_all_1.gst-libav
|
||||
pkgs.gst_all_1.gst-vaapi
|
||||
# -----
|
||||
pkgs.imagemagick
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
15
module/aspect/software/software-tty/nix-your-shell.nix
Normal file
15
module/aspect/software/software-tty/nix-your-shell.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager = {
|
||||
programs = {
|
||||
nix-your-shell = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
16
module/aspect/software/software-tty/nushell.nix
Normal file
16
module/aspect/software/software-tty/nushell.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.shell.enableNushellIntegration = true;
|
||||
programs = {
|
||||
nushell = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
10
module/aspect/software/software-tty/ripgrep.nix
Normal file
10
module/aspect/software/software-tty/ripgrep.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager = {
|
||||
programs.ripgrep.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
73
module/aspect/software/software-tty/starship.nix
Normal file
73
module/aspect/software/software-tty/starship.nix
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager = {
|
||||
programs = {
|
||||
starship = {
|
||||
enable = true;
|
||||
enableTransience = true;
|
||||
settings = {
|
||||
custom.jj1 = {
|
||||
when = "jj root --ignore-working-copy";
|
||||
detect_folders = [ ".jj" ];
|
||||
ignore_timeout = true;
|
||||
format = "$output ";
|
||||
command = ''
|
||||
jj log --revisions @ --no-graph --ignore-working-copy --color always --limit 1 --template '
|
||||
surround("[", "",
|
||||
separate(" ",
|
||||
change_id.shortest(),
|
||||
commit_id.shortest(),
|
||||
bookmarks,
|
||||
"|",
|
||||
concat(
|
||||
if(conflict, "💥"),
|
||||
if(divergent, "🚧"),
|
||||
if(hidden, "👻"),
|
||||
if(immutable, "🔒"),
|
||||
),
|
||||
raw_escape_sequence("\x1b[1;32m") ++ if(empty, "(empty)"),
|
||||
raw_escape_sequence("\x1b[1;32m") ++ coalesce(
|
||||
truncate_end(29, description.first_line(), "..."),
|
||||
"(no description)",
|
||||
) ++ raw_escape_sequence("\x1b[0m"),
|
||||
)
|
||||
)
|
||||
'
|
||||
'';
|
||||
};
|
||||
custom.jj2 = {
|
||||
when = "jj root --ignore-working-copy";
|
||||
detect_folders = [ ".jj" ];
|
||||
ignore_timeout = true;
|
||||
format = "$output ";
|
||||
command = ''
|
||||
jj log --revisions "streams()" --no-graph --ignore-working-copy --color always --template '
|
||||
surround("", "]",
|
||||
bookmarks
|
||||
)
|
||||
'
|
||||
'';
|
||||
};
|
||||
git_state = {
|
||||
disabled = true;
|
||||
};
|
||||
git_status = {
|
||||
disabled = true;
|
||||
};
|
||||
git_commit = {
|
||||
disabled = true;
|
||||
};
|
||||
git_metrics = {
|
||||
disabled = true;
|
||||
};
|
||||
git_branch = {
|
||||
disabled = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/software-tty/unrar-unzip.nix
Normal file
14
module/aspect/software/software-tty/unrar-unzip.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.unrar
|
||||
pkgs.unzip
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-tty/usbutils.nix
Normal file
13
module/aspect/software/software-tty/usbutils.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.usbutils
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/software-tty/wget.nix
Normal file
13
module/aspect/software/software-tty/wget.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.wget
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
14
module/aspect/software/software-tty/zoxide.nix
Normal file
14
module/aspect/software/software-tty/zoxide.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
homeManager = {
|
||||
programs = {
|
||||
zoxide = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
36
module/aspect/software/software-tty/zsh.nix
Normal file
36
module/aspect/software/software-tty/zsh.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
den.aspects = {
|
||||
software-tty = {
|
||||
nixos = {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestions.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
histSize = 10000;
|
||||
histFile = "$HOME/.zsh_history";
|
||||
setOptions = [
|
||||
"HIST_IGNORE_ALL_DUPS"
|
||||
];
|
||||
};
|
||||
};
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.shell.enableZshIntegration = true;
|
||||
programs = {
|
||||
zsh = {
|
||||
enable = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
"git"
|
||||
];
|
||||
theme = "gnzh";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/terminal-emulator/konsole.nix
Normal file
13
module/aspect/software/terminal-emulator/konsole.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
konsole = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.kdePackages.konsole
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/terminal-emulator/wezterm.nix
Normal file
13
module/aspect/software/terminal-emulator/wezterm.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
wezterm = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.latest.wezterm
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/vpn/protonvpn-cli.nix
Normal file
13
module/aspect/software/vpn/protonvpn-cli.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
protonvpn-cli = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.protonvpn-cli
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
13
module/aspect/software/vpn/protonvpn-gui.nix
Normal file
13
module/aspect/software/vpn/protonvpn-gui.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
den.aspects = {
|
||||
protonvpn-gui = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.protonvpn-gui
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue