refactor: modularize the rest of the home modules; move agenix to system modules
This commit is contained in:
parent
a839ca9880
commit
101c9d55c7
18 changed files with 30 additions and 14 deletions
|
|
@ -4,7 +4,6 @@
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
inputs.catppuccin.nixosModules.catppuccin
|
inputs.catppuccin.nixosModules.catppuccin
|
||||||
inputs.spicetify-nix.nixosModules.default
|
inputs.spicetify-nix.nixosModules.default
|
||||||
./agenix.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
|
@ -35,19 +34,11 @@
|
||||||
inputs.spicetify-nix.homeManagerModules.default
|
inputs.spicetify-nix.homeManagerModules.default
|
||||||
inputs.nix-index-database.hmModules.nix-index
|
inputs.nix-index-database.hmModules.nix-index
|
||||||
inputs.agenix.homeManagerModules.age
|
inputs.agenix.homeManagerModules.age
|
||||||
|
] ++ [
|
||||||
./desktop
|
./desktop
|
||||||
./git.nix
|
./essentials
|
||||||
./btop
|
./utils
|
||||||
./easyeffects.nix
|
./misc_pkgs
|
||||||
./packages.nix
|
|
||||||
./alacritty.nix
|
|
||||||
./zsh.nix
|
|
||||||
./spicetify.nix
|
|
||||||
./udiskie.nix
|
|
||||||
./keyring.nix
|
|
||||||
./ssh.nix
|
|
||||||
./blueman.nix
|
|
||||||
./direnv.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
|
|
|
||||||
8
home/essentials/default.nix
Normal file
8
home/essentials/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ age, config, ... }: {
|
||||||
|
imports = [
|
||||||
|
./git.nix
|
||||||
|
./keyring.nix
|
||||||
|
./ssh.nix
|
||||||
|
./zsh.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
6
home/misc_pkgs/default.nix
Normal file
6
home/misc_pkgs/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{ agenix, config, inputs, pkgs, spicetify-nix, ... }: {
|
||||||
|
imports = [
|
||||||
|
./packages.nix
|
||||||
|
./spicetify.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
# replacement of htop/nmon
|
# replacement of htop/nmon
|
||||||
programs.btop = {
|
programs.btop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
color_theme = "catppuccin_mocha";
|
color_theme = "catppuccin_mocha";
|
||||||
theme_background = true;
|
theme_background = true;
|
||||||
9
home/utils/default.nix
Normal file
9
home/utils/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ services, ... }: {
|
||||||
|
imports = [
|
||||||
|
./btop
|
||||||
|
./blueman.nix
|
||||||
|
./direnv.nix
|
||||||
|
./easyeffects.nix
|
||||||
|
./udiskie.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./agenix.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./fingerprint.nix
|
./fingerprint.nix
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue