nixos/system/security.nix
2024-05-27 01:23:12 +02:00

14 lines
213 B
Nix

{ pkgs, ... }: {
# Enable sudo
security.sudo = {
enable = true;
wheelNeedsPassword = false;
};
# Enable polkit
security.polkit.enable = true;
# Enable rtkit
security.rtkit.enable = true;
}