woot. got a working build again
This commit is contained in:
parent
d700126642
commit
ff0a8c5b1b
16 changed files with 73 additions and 89 deletions
23
modules/nixos/system/security/sudo/default.nix
Normal file
23
modules/nixos/system/security/sudo/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ config, namespace, ... }:
|
||||
let
|
||||
cfg = config.${namespace}.system.security.sudo;
|
||||
in
|
||||
{
|
||||
options.${namespace}.system.security.sudo = {};
|
||||
|
||||
config = {
|
||||
security = {
|
||||
sudo = {
|
||||
enable = false;
|
||||
execWheelOnly = true;
|
||||
};
|
||||
|
||||
sudo-rs = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
Defaults env_keep += "EDITOR PATH DISPLAY"
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue