mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-18 10:47:31 -08:00
remove nopasswd for root
This commit is contained in:
parent
1f0b9013fa
commit
ca1f647684
@ -10,15 +10,6 @@
|
||||
networking.firewall.checkReversePath = "loose";
|
||||
networking.firewall.enable = false;
|
||||
|
||||
# Password-less root
|
||||
security.sudo.extraRules = [{
|
||||
users = [ "${user}" ];
|
||||
commands = [{
|
||||
command = "ALL" ;
|
||||
options= [ "NOPASSWD" ];
|
||||
}];
|
||||
}];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
];
|
||||
|
||||
|
@ -15,15 +15,6 @@
|
||||
# Enable docker
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker.storageDriver = "btrfs";
|
||||
|
||||
# Password-less root
|
||||
security.sudo.extraRules = [{
|
||||
users = [ "${user}" ];
|
||||
commands = [{
|
||||
command = "ALL" ;
|
||||
options= [ "NOPASSWD" ];
|
||||
}];
|
||||
}];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
distrobox # Platform for creating and managing Linux distribution images.
|
||||
|
@ -15,15 +15,6 @@
|
||||
# Enable docker
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker.storageDriver = "btrfs";
|
||||
|
||||
# Password-less root
|
||||
security.sudo.extraRules = [{
|
||||
users = [ "${user}" ];
|
||||
commands = [{
|
||||
command = "ALL" ;
|
||||
options= [ "NOPASSWD" ];
|
||||
}];
|
||||
}];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
distrobox # Platform for creating and managing Linux distribution images.
|
||||
|
Loading…
x
Reference in New Issue
Block a user