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
Raw Normal View History

2024-03-24 16:15:15 +01:00
{ config, pkgs, ... }: {
# pam
security.pam.services.swaylock = {
text = ''auth include login'';
};
# sudo
security.sudo.wheelNeedsPassword = false;
# enable realtimekit
security.rtkit.enable = true;
}