diff --git a/modules/programs/default.nix b/modules/programs/default.nix index c03311b..6f237d1 100644 --- a/modules/programs/default.nix +++ b/modules/programs/default.nix @@ -3,6 +3,7 @@ extraSpecialArgs = {inherit inputs;}; users = { "joy" = import ./home.nix; + "root" = import ./root.nix; }; }; } diff --git a/modules/programs/fastfetch/default.nix b/modules/programs/fastfetch/default.nix new file mode 100644 index 0000000..ce688d3 --- /dev/null +++ b/modules/programs/fastfetch/default.nix @@ -0,0 +1,3 @@ +{ + programs.fastfetch.enable = true; +} diff --git a/modules/programs/home.nix b/modules/programs/home.nix index 85f49db..07a6cc5 100644 --- a/modules/programs/home.nix +++ b/modules/programs/home.nix @@ -10,6 +10,7 @@ ./helix ./newsboat ./zoxide + ./fastfetch ./misc ]; } diff --git a/modules/programs/misc/default.nix b/modules/programs/misc/default.nix index f4a1a80..f313187 100644 --- a/modules/programs/misc/default.nix +++ b/modules/programs/misc/default.nix @@ -9,12 +9,10 @@ ffmpeg lm_sensors alejandra - tree zip unzip yt-dlp wget - fastfetch cmatrix cava nitch diff --git a/modules/programs/root.nix b/modules/programs/root.nix new file mode 100644 index 0000000..2770346 --- /dev/null +++ b/modules/programs/root.nix @@ -0,0 +1,8 @@ +{ + imports = [ + ./zsh + ./helix + ./zoxide + ./misc + ]; +} diff --git a/modules/system/homemanger/default.nix b/modules/system/homemanger/default.nix index 123ce7e..f8afc92 100644 --- a/modules/system/homemanger/default.nix +++ b/modules/system/homemanger/default.nix @@ -9,5 +9,13 @@ stateVersion = "23.11"; }; }; + users.root = { + programs.home-manager.enable = true; + home = { + username = "root"; + homeDirectory = "/root"; + stateVersion = "23.11"; + }; + }; }; }