flocon/hosts/common/system/nh.nix

11 lines
222 B
Nix

{username, ...}: {
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3";
};
environment.sessionVariables = {
FLAKE = "/home/${username}/.dotfiles";
};
}