diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/nixos/sils/default.nix | 1 | ||||
-rw-r--r-- | modules/nixos/sils/sudo.nix | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/modules/nixos/sils/default.nix b/modules/nixos/sils/default.nix index 2d15138..8ca6aa7 100644 --- a/modules/nixos/sils/default.nix +++ b/modules/nixos/sils/default.nix @@ -5,6 +5,7 @@ ./networking.nix ./nix.nix ./plymouth.nix + ./sudo.nix ./theming.nix ]; } diff --git a/modules/nixos/sils/sudo.nix b/modules/nixos/sils/sudo.nix new file mode 100644 index 0000000..3dfd79d --- /dev/null +++ b/modules/nixos/sils/sudo.nix @@ -0,0 +1,8 @@ +{...}: { + security.sudo = { + enable = true; + extraConfig = '' + Defaults lecture = never + ''; + }; +} |