Files
nixconfig/modules/nixos/system/security/polkit/default.nix
T
2026-06-21 22:51:54 +02:00

13 lines
283 B
Nix

{ config, lib, pkgs, ... }: {
config = lib.mkIf config.syscfg.make.gui {
security.polkit.enable = true;
security.pam.services.hyprlock = { #swaylock
text = ''
auth include login
'';
};
environment.systemPackages = [ pkgs.polkit_gnome ];
};
}