2023-11-04 16:12:45 +05:30
|
|
|
{ pkgs, ... }: {
|
2023-04-07 20:55:19 +05:30
|
|
|
security = {
|
|
|
|
pam = {
|
|
|
|
services = {
|
|
|
|
passwd.enableGnomeKeyring = true;
|
|
|
|
login.enableGnomeKeyring = true;
|
2024-05-12 18:38:07 +05:30
|
|
|
hyprlock = { };
|
2023-04-07 20:55:19 +05:30
|
|
|
};
|
|
|
|
u2f = {
|
|
|
|
enable = true;
|
|
|
|
authFile = "/etc/u2f_keys";
|
|
|
|
cue = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
polkit.enable = true;
|
|
|
|
rtkit.enable = true;
|
|
|
|
sudo = {
|
2023-11-04 16:12:45 +05:30
|
|
|
package = pkgs.sudo.override { withInsults = true; };
|
2023-04-07 20:55:19 +05:30
|
|
|
extraConfig = ''
|
|
|
|
Defaults lecture="never"
|
|
|
|
'';
|
|
|
|
wheelNeedsPassword = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|