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