refactor: distribute packages from _lib/packages.nix into aspect modules

This commit is contained in:
2026-03-08 19:08:15 +00:00
parent 0aa8606153
commit bfc9af382f
14 changed files with 129 additions and 74 deletions

View File

@@ -1,5 +1,9 @@
{...}: {
den.aspects.terminal.homeManager = {pkgs, ...}: {
den.aspects.terminal.homeManager = {
pkgs,
lib,
...
}: {
xdg.configFile."ghostty/config".text = ''
command = ${pkgs.nushell}/bin/nu
theme = Catppuccin Latte
@@ -125,5 +129,25 @@
};
};
};
home.packages = with pkgs;
[
dust
fastfetch
fd
glow
htop
jq
killall
lsof
ouch
ov
sd
tree
tuicr
]
++ lib.optionals stdenv.isLinux [
ghostty.terminfo
];
};
}