nixos/system/security.nix

15 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;
}