feat(nixos): add nh and refactored rebuild script
This commit is contained in:
parent
03a7496189
commit
f308cae323
3 changed files with 9 additions and 1 deletions
6
users/modules/programs/nh.nix
Normal file
6
users/modules/programs/nh.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
git add .
|
||||
sudo nixos-rebuild switch --flake .
|
||||
nh clean all
|
||||
nh os switch .
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./programs/btop.nix
|
||||
./programs/nh.nix
|
||||
./programs/direnv.nix
|
||||
./programs/fzf.nix
|
||||
./programs/git.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue