mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27: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.checkReversePath = "loose";
|
||||||
networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
|
|
||||||
# Password-less root
|
|
||||||
security.sudo.extraRules = [{
|
|
||||||
users = [ "${user}" ];
|
|
||||||
commands = [{
|
|
||||||
command = "ALL" ;
|
|
||||||
options= [ "NOPASSWD" ];
|
|
||||||
}];
|
|
||||||
}];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -15,15 +15,6 @@
|
|||||||
# Enable docker
|
# Enable docker
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
virtualisation.docker.storageDriver = "btrfs";
|
virtualisation.docker.storageDriver = "btrfs";
|
||||||
|
|
||||||
# Password-less root
|
|
||||||
security.sudo.extraRules = [{
|
|
||||||
users = [ "${user}" ];
|
|
||||||
commands = [{
|
|
||||||
command = "ALL" ;
|
|
||||||
options= [ "NOPASSWD" ];
|
|
||||||
}];
|
|
||||||
}];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
distrobox # Platform for creating and managing Linux distribution images.
|
distrobox # Platform for creating and managing Linux distribution images.
|
||||||
|
@ -15,15 +15,6 @@
|
|||||||
# Enable docker
|
# Enable docker
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
virtualisation.docker.storageDriver = "btrfs";
|
virtualisation.docker.storageDriver = "btrfs";
|
||||||
|
|
||||||
# Password-less root
|
|
||||||
security.sudo.extraRules = [{
|
|
||||||
users = [ "${user}" ];
|
|
||||||
commands = [{
|
|
||||||
command = "ALL" ;
|
|
||||||
options= [ "NOPASSWD" ];
|
|
||||||
}];
|
|
||||||
}];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
distrobox # Platform for creating and managing Linux distribution images.
|
distrobox # Platform for creating and managing Linux distribution images.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user