repo: move common home packages into home/default.nix

This commit is contained in:
Anthony Rodriguez 2024-10-21 15:49:07 +02:00
parent aa46aa0762
commit 8c3cd9631a
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
4 changed files with 6 additions and 10 deletions

View file

@ -1,6 +1,8 @@
{ {
imports = [ imports = [
./services/udiskie.nix
./terminal ./terminal
./programs
]; ];
home = { home = {
username = "nezia"; username = "nezia";

View file

@ -4,8 +4,11 @@
./media ./media
./xdg.nix ./xdg.nix
./gtk.nix ./gtk.nix
./editors/neovim.nix
./editors/helix.nix
]; ];
# idk where to put this
programs = { programs = {
fzf.enable = true; fzf.enable = true;
hyfetch.enable = true; hyfetch.enable = true;
@ -15,6 +18,7 @@
}; };
}; };
# miscellaneous programs that do not need to be configured
home.packages = with pkgs; [ home.packages = with pkgs; [
geary geary
imhex imhex

View file

@ -19,13 +19,8 @@ in {
home-manager = { home-manager = {
users.nezia.imports = [ users.nezia.imports = [
"${self}/home" "${self}/home"
"${self}/home/services/udiskie.nix"
"${self}/home/programs"
"${self}/home/terminal/emulators/foot.nix" "${self}/home/terminal/emulators/foot.nix"
"${self}/home/programs/editors/neovim.nix"
"${self}/home/programs/editors/helix.nix"
]; ];
extraSpecialArgs = specialArgs; extraSpecialArgs = specialArgs;
}; };

View file

@ -29,8 +29,6 @@ in {
"${self}/home" "${self}/home"
"${self}/home/services/udiskie.nix" "${self}/home/services/udiskie.nix"
"${self}/home/programs"
"${self}/home/programs/niri" "${self}/home/programs/niri"
"${self}/home/programs/ags" "${self}/home/programs/ags"
"${self}/home/programs/fuzzel.nix" "${self}/home/programs/fuzzel.nix"
@ -39,9 +37,6 @@ in {
"${self}/home/programs/swayidle.nix" "${self}/home/programs/swayidle.nix"
"${self}/home/terminal/emulators/foot.nix" "${self}/home/terminal/emulators/foot.nix"
"${self}/home/programs/editors/neovim.nix"
"${self}/home/programs/editors/helix.nix"
]; ];
extraSpecialArgs = specialArgs; extraSpecialArgs = specialArgs;
}; };