enable nh for easier management

This commit is contained in:
insects 2024-08-21 14:35:07 +02:00
parent 61086f393a
commit 2eb8f36610

View file

@ -18,11 +18,12 @@
];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than +3";
};
# disabled in favour of nh
# gc = {
# automatic = true;
# dates = "weekly";
# options = "--delete-older-than +3";
# };
};
users.users.lu.extraGroups = ["audio"];
@ -31,6 +32,15 @@
services.devmon.enable = true;
services.gvfs.enable = true;
services.udisks2.enable = true;
# set up a keyring
services.gnome.gnome-keyring.enable = true;
security.pam.services.hyprland.enableGnomeKeyring = true;
# use nh for easier nix stuff
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep 3";
};
}