Disable prompting for password for sudo
This commit is contained in:
parent
93c0365a5f
commit
af5c966e5b
2 changed files with 8 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
./cloud-init.nix
|
||||
./do-agent.nix
|
||||
./fish.nix
|
||||
./sudo.nix
|
||||
./tmux.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
7
nixos-anywhere/modules/system/sudo.nix
Normal file
7
nixos-anywhere/modules/system/sudo.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, lib, pkgs, configFiles, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue