Enable nh helper tool

This commit is contained in:
Johannes Rothe 2024-12-04 21:22:01 +01:00
parent 44a37a9807
commit 9b47b7ed5f
2 changed files with 9 additions and 2 deletions

View File

@ -6,10 +6,10 @@ update:
@nix flake update
switch:
@sudo nixos-rebuild switch --flake .
@nh os switch . --ask
home:
@home-manager switch --flake .
@nh home switch --ask .
clean:
# remove all generations older than 30 days

View File

@ -231,6 +231,13 @@
podman.enable = true;
};
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3";
flake = "/home/rothe/src/nixos-config";
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;