Initial commit
This commit is contained in:
15
modules/features/nh.nix
Normal file
15
modules/features/nh.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
flake.nixosModules.nh = {pkgs, config, ...}: let
|
||||
user = config.preferences.user.name;
|
||||
in {
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean = {
|
||||
enable = true;
|
||||
extraArgs = "--keep-since 30d --keep 15";
|
||||
};
|
||||
flake = "/home/${user}/Documents/MyNixOS/#laptop";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user