Files
nixy/home/programs/nh/default.nix
Hadi a306013288 add nh informations
Former-commit-id: 999b3abda5
2024-10-29 11:19:37 +01:00

11 lines
357 B
Nix

# NH reimplements some basic nix commands.
# Adding functionality on top of the existing solutions, like nixos-rebuild, home-manager cli or nix itself.
{ config, ... }: {
programs.nh = {
enable = true;
flake = config.var.configDirectory;
clean.enable = config.var.autoGarbageCollector;
clean.extraArgs = "--keep-since 4d --keep 3";
};
}