nixos/system/security.nix

14 lines
213 B
Nix

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