diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-05-06 10:48:02 +0200 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-05-06 11:34:48 +0200 |
commit | 9e4d374f1e3fc4f949dd157f3b31222695fe4e1d (patch) | |
tree | 5b415eccb34f2bb287b27887a96ee8ea20b5758c | |
parent | 509104ddb3650d56d171efdbdc8a83cb81d36b03 (diff) |
sudoers: implement configuration: init
-rw-r--r-- | commons/sudoers.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/commons/sudoers.scm b/commons/sudoers.scm new file mode 100644 index 0000000..6d73a34 --- /dev/null +++ b/commons/sudoers.scm @@ -0,0 +1,10 @@ +(define-module (commons sudoers) + #:use-module (guix gexp)) + +(define sudoers-content + (string-append "root ALL=(ALL) ALL \n" + "%wheel ALL=(ALL) ALL \n" + "Defaults passwd_timeout=0 \n")) + +(define-public sudoers-file + (plain-file "sudoers" sudoers-content)) |