refactor: modularize the rest of the home modules; move agenix to system modules

This commit is contained in:
EinEtwas 2024-10-26 18:33:41 +02:00
parent a839ca9880
commit 101c9d55c7
Signed by: etwas
SSH key fingerprint: SHA256:bHhIeAdn/2k9jmOs6+u6ox98VYmoHUN3HfnpV2w8Ws0
18 changed files with 30 additions and 14 deletions

View file

@ -4,7 +4,6 @@
inputs.home-manager.nixosModules.home-manager
inputs.catppuccin.nixosModules.catppuccin
inputs.spicetify-nix.nixosModules.default
./agenix.nix
];
home-manager = {
@ -35,19 +34,11 @@
inputs.spicetify-nix.homeManagerModules.default
inputs.nix-index-database.hmModules.nix-index
inputs.agenix.homeManagerModules.age
] ++ [
./desktop
./git.nix
./btop
./easyeffects.nix
./packages.nix
./alacritty.nix
./zsh.nix
./spicetify.nix
./udiskie.nix
./keyring.nix
./ssh.nix
./blueman.nix
./direnv.nix
./essentials
./utils
./misc_pkgs
];
home.pointerCursor = {

View file

@ -0,0 +1,8 @@
{ age, config, ... }: {
imports = [
./git.nix
./keyring.nix
./ssh.nix
./zsh.nix
];
}

View file

@ -0,0 +1,6 @@
{ agenix, config, inputs, pkgs, spicetify-nix, ... }: {
imports = [
./packages.nix
./spicetify.nix
];
}

View file

@ -5,9 +5,10 @@
# replacement of htop/nmon
programs.btop = {
enable = true;
settings = {
color_theme = "catppuccin_mocha";
theme_background = true;
};
};
}
}

9
home/utils/default.nix Normal file
View file

@ -0,0 +1,9 @@
{ services, ... }: {
imports = [
./btop
./blueman.nix
./direnv.nix
./easyeffects.nix
./udiskie.nix
];
}

View file

@ -1,5 +1,6 @@
{
imports = [
./agenix.nix
./configuration.nix
./hardware-configuration.nix
./fingerprint.nix