diff options
author | EuAndreh <eu@euandre.org> | 2024-09-26 13:01:54 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-09-26 13:01:54 -0300 |
commit | 46caf1f91c6beed687205ee7f20e9fbcdb4e94e5 (patch) | |
tree | 7aaffe7db912906c95e9819f0b446ae5cadab77d | |
parent | system.scm: Disable binder service (diff) | |
download | asami-46caf1f91c6beed687205ee7f20e9fbcdb4e94e5.tar.gz asami-46caf1f91c6beed687205ee7f20e9fbcdb4e94e5.tar.xz |
system.scm: Add "contact" and "info" email aliases
-rw-r--r-- | src/guix/system.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/guix/system.scm b/src/guix/system.scm index 5dfef4b..e2619bd 100644 --- a/src/guix/system.scm +++ b/src/guix/system.scm @@ -33,6 +33,8 @@ (define +users+ `(("andre" "EuAndreh" ("wheel" "become-secrets-keeper") ,(path "src/keys/SSH/andre.pub.txt")))) +(define +alias-emails+ (map s1:first +users+)) + (define file (compose string-trim-right pkg:slurp path)) (define +ipv4+ (file "src/config/ipv4.txt")) @@ -150,7 +152,9 @@ ("offsite-ssh.txt" ,(plain-file "offsite-ssh.txt" +offsite-ssh+)))) (service mail-aliases-service-type `(("root" "andre") - ("support" ,@(map s1:first +users+))))) + ("contact" ,+alias-emails+) + ("info" ,+alias-emails+) + ("support" ,+alias-emails+)))) pkg:base-services)) (bootloader (bootloader-configuration |