summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom/uucp.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix
index f2e230e8..93c761b8 100644
--- a/custom/uucp.nix
+++ b/custom/uucp.nix
@@ -96,11 +96,11 @@ rec {
96 ''; 96 '';
97 }; 97 };
98 98
99 users.users."uucp" = optional config.services.uucp.enable config.services.uucp.sshUser; 99 users.users."uucp" = optional services.uucp.enable services.uucp.sshUser;
100 100
101 system.activationScripts."uucp-sshconfig" = optional config.services.uucp.enable '' 101 system.activationScripts."uucp-sshconfig" = optional services.uucp.enable ''
102 mkdir -p ${users.users."uucp".home}/.ssh 102 mkdir -p ${users.users."uucp".home}/.ssh
103 cp ${builtins.toFile "ssh-config" config.services.uucp.sshConfig} ${users.users."uucp".home}/.ssh/config 103 cp ${builtins.toFile "ssh-config" services.uucp.sshConfig} ${users.users."uucp".home}/.ssh/config
104 ''; 104 '';
105 }; 105 };
106} 106}