Files
Olympus/system/users/nathan/home-manager/programs/nh/default.nix
2026-01-06 00:19:34 -06:00

22 lines
508 B
Nix

{ config, lib, ... }: {
options.homeconfig.nh.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.nh.enable {
programs.nh = {
enable = true;
#flake = "${config.home.homeDirectory}/Projects/Olympus";
clean = {
enable = true;
dates = "weekly";
extraArgs = "--keep 5 --keep-since 5d";
};
};
};
}