1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 03:27:45 +00:00

Add sudo module

This commit is contained in:
RGBCube 2023-12-12 13:49:02 +03:00
parent c8a908bb91
commit 046c216b3f
No known key found for this signature in database
3 changed files with 12 additions and 0 deletions

10
modules/sudo/default.nix Normal file
View file

@ -0,0 +1,10 @@
{ ulib, ... }: with ulib;
systemConfiguration {
security.sudo = enabled {
extraConfig = ''
Defaults timestamp_timeout=-1
'';
execWheelOnly = true;
};
}