This repository has been archived on 2024-07-10. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-nix/nix/systems/security.nix

14 lines
224 B
Nix

{ config, pkgs, ... }: {
# pam
security.pam.services.swaylock = {
text = ''auth include login'';
};
# sudo
security.sudo.wheelNeedsPassword = false;
# enable realtimekit
security.rtkit.enable = true;
}