mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
Allow password-less root for Bulwark
This commit is contained in:
parent
0458c138b1
commit
c1af411db2
@ -55,6 +55,15 @@
|
||||
extraGroups = [ "dialout" "wheel" "docker" "libvirtd" ]; # Enable ‘sudo’ for the user.
|
||||
};
|
||||
|
||||
# Password-less root
|
||||
security.sudo.extraRules = [{
|
||||
users = [ "${user}" ];
|
||||
commands = [{
|
||||
command = "ALL" ;
|
||||
options= [ "NOPASSWD" ];
|
||||
}];
|
||||
}];
|
||||
|
||||
# List packages installed in system profile.
|
||||
environment.systemPackages = with pkgs; [
|
||||
# One-off stable packages
|
||||
|
@ -63,7 +63,7 @@
|
||||
users = [ "${user}" ];
|
||||
commands = [{
|
||||
command = "ALL" ;
|
||||
options= [ "NOPASSWD" ]; # "SETENV" # Adding the following could be a good idea
|
||||
options= [ "NOPASSWD" ];
|
||||
}];
|
||||
}];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user