feat(nixos): add nh and refactored rebuild script

This commit is contained in:
Mohammad Rafiq 2025-03-24 03:30:59 +08:00
parent 03a7496189
commit f308cae323
No known key found for this signature in database
3 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,6 @@
{
programs.nh = {
enable = true;
};
}

View file

@ -1,2 +1,3 @@
git add .
sudo nixos-rebuild switch --flake .
nh clean all
nh os switch .

View file

@ -2,6 +2,7 @@
{
imports = [
./programs/btop.nix
./programs/nh.nix
./programs/direnv.nix
./programs/fzf.nix
./programs/git.nix