Files
nixconfig/modules/nixos/system/security/polkit/default.nix
2026-06-16 20:04:00 +02:00

11 lines
212 B
Nix

{ pkgs, ... }: {
security.polkit.enable = true;
security.pam.services.hyprlock = { #swaylock
text = ''
auth include login
'';
};
environment.systemPackages = with pkgs; [ polkit_gnome ];
}