diff options
-rw-r--r-- | commons/sudoers.scm | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/commons/sudoers.scm b/commons/sudoers.scm index 6d73a34..b27b821 100644 --- a/commons/sudoers.scm +++ b/commons/sudoers.scm @@ -1,10 +1,8 @@ (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)) +(define-public %sudoers-specification* + (let ((content (string-append "root ALL=(ALL) ALL \n" + "%wheel ALL=(ALL) ALL \n" + "Defaults passwd_timeout=0 \n"))) + (plain-file "sudoers" content))) |