summaryrefslogtreecommitdiff
path: root/modules/default-user.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/default-user.nix')
-rw-r--r--modules/default-user.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/default-user.nix b/modules/default-user.nix
index 53cef7d..9caa454 100644
--- a/modules/default-user.nix
+++ b/modules/default-user.nix
@@ -46,9 +46,11 @@ in {
mail-cfg = map (n: {name = n; value = with-perms n;}) mails;
in
listToAttrs mail-cfg))
- // (optionalAttrs cfg.services.ddns.enable ({
+ // (optionalAttrs cfg.services.ddns.enable {
cloudflare = with-perms "cloudflare";
- }));
+ }) // (optionalAttrs cfg.emacs.enable {
+ authinfo = with-perms "authinfo";
+ });
programs.ssh.startAgent = true;
services.openssh = {
enable = true;