homemanger for root

This commit is contained in:
joy 2024-11-05 19:55:59 +01:00
parent b470af6d33
commit a9890846b2
6 changed files with 21 additions and 2 deletions

View file

@ -3,6 +3,7 @@
extraSpecialArgs = {inherit inputs;}; extraSpecialArgs = {inherit inputs;};
users = { users = {
"joy" = import ./home.nix; "joy" = import ./home.nix;
"root" = import ./root.nix;
}; };
}; };
} }

View file

@ -0,0 +1,3 @@
{
programs.fastfetch.enable = true;
}

View file

@ -10,6 +10,7 @@
./helix ./helix
./newsboat ./newsboat
./zoxide ./zoxide
./fastfetch
./misc ./misc
]; ];
} }

View file

@ -9,12 +9,10 @@
ffmpeg ffmpeg
lm_sensors lm_sensors
alejandra alejandra
tree
zip zip
unzip unzip
yt-dlp yt-dlp
wget wget
fastfetch
cmatrix cmatrix
cava cava
nitch nitch

View file

@ -0,0 +1,8 @@
{
imports = [
./zsh
./helix
./zoxide
./misc
];
}

View file

@ -9,5 +9,13 @@
stateVersion = "23.11"; stateVersion = "23.11";
}; };
}; };
users.root = {
programs.home-manager.enable = true;
home = {
username = "root";
homeDirectory = "/root";
stateVersion = "23.11";
};
};
}; };
} }