commit | c817f3dffc76bc8a0cfda86c9f7e03d9f4d9d5a7 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Thu Sep 01 23:30:32 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Sun Sep 04 11:34:28 2022 +0100 |
tree | 145b83dfdb46664d9c3f24ec978ab89ef16c8700 | |
parent | 69a6d92b9a124302366fd866dffedef800f2ce88 [diff] |
Disable the sudo lecture - As sudo won't remember us between boots, if we don't do this we'll see the sudo lecture every time we restart our computer
diff --git a/modules/sudo.nix b/modules/sudo.nix new file mode 100644 index 0000000..0fee468 --- /dev/null +++ b/modules/sudo.nix
@@ -0,0 +1,5 @@ +{ + config.security.sudo.extraConfig = '' + Defaults lecture = never + ''; +}