mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 03:27:45 +00:00
Add sudo module
This commit is contained in:
parent
c8a908bb91
commit
046c216b3f
3 changed files with 12 additions and 0 deletions
10
modules/sudo/default.nix
Normal file
10
modules/sudo/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ ulib, ... }: with ulib;
|
||||
|
||||
systemConfiguration {
|
||||
security.sudo = enabled {
|
||||
extraConfig = ''
|
||||
Defaults timestamp_timeout=-1
|
||||
'';
|
||||
execWheelOnly = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue