🚚 refactor(home): Reorganize modules

Instead of having separate folders for each program with a default.nix
inside, moved modules into programs/services/xorg respectively. Xdg was
moved to the root home folder as it makes the most sense there.
This commit is contained in:
punkfairie 2024-11-03 10:33:32 -08:00
parent 3e2199a728
commit ceb4bf3cde
28 changed files with 42 additions and 24 deletions

View file

@ -45,30 +45,10 @@
fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ];
imports = [
./amfora
./bat
./btop
./cava
./curl
./eza
./fish
./gh
./hyfetch
./lazygit
./less
./man
./ncmpcpp
./neofetch
./starship
./syncthing
./tmux
./topgrade
./wget
./wezterm
./xdg
./xsession
./zathura
./zoxide
./programs
./services
./xdg.nix
./xorg
];
# This value determines the Home Manager release that your configuration is

26
home/programs/default.nix Normal file
View file

@ -0,0 +1,26 @@
{ ... }:
{
imports = [
./amfora.nix
./bat.nix
./btop.nix
./cava.nix
./curl.nix
./eza.nix
./fish.nix
./gh.nix
./hyfetch.nix
./lazygit.nix
./less.nix
./man.nix
./ncmpcpp.nix
./neofetch.nix
./starship.nix
./tmux.nix
./topgrade.nix
./wget.nix
./wezterm.nix
./zathura.nix
./zoxide.nix
];
}

View file

@ -0,0 +1,6 @@
{ ... }:
{
imports = [
./syncthing.nix
];
}

6
home/xorg/default.nix Normal file
View file

@ -0,0 +1,6 @@
{ ... }:
{
imports = [
./xsession.nix
];
}