🚚 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:
parent
3e2199a728
commit
ceb4bf3cde
28 changed files with 42 additions and 24 deletions
|
@ -45,30 +45,10 @@
|
||||||
fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ];
|
fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ];
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./amfora
|
./programs
|
||||||
./bat
|
./services
|
||||||
./btop
|
./xdg.nix
|
||||||
./cava
|
./xorg
|
||||||
./curl
|
|
||||||
./eza
|
|
||||||
./fish
|
|
||||||
./gh
|
|
||||||
./hyfetch
|
|
||||||
./lazygit
|
|
||||||
./less
|
|
||||||
./man
|
|
||||||
./ncmpcpp
|
|
||||||
./neofetch
|
|
||||||
./starship
|
|
||||||
./syncthing
|
|
||||||
./tmux
|
|
||||||
./topgrade
|
|
||||||
./wget
|
|
||||||
./wezterm
|
|
||||||
./xdg
|
|
||||||
./xsession
|
|
||||||
./zathura
|
|
||||||
./zoxide
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# This value determines the Home Manager release that your configuration is
|
# This value determines the Home Manager release that your configuration is
|
||||||
|
|
26
home/programs/default.nix
Normal file
26
home/programs/default.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
6
home/services/default.nix
Normal file
6
home/services/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./syncthing.nix
|
||||||
|
];
|
||||||
|
}
|
6
home/xorg/default.nix
Normal file
6
home/xorg/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./xsession.nix
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue