summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom/uucp.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix
index 26a2b4b8..dff7e5e7 100644
--- a/custom/uucp.nix
+++ b/custom/uucp.nix
@@ -113,7 +113,9 @@ in {
113 113
114 system.activationScripts."uucp-sshconfig" = '' 114 system.activationScripts."uucp-sshconfig" = ''
115 mkdir -p ${config.users.users."uucp".home}/.ssh 115 mkdir -p ${config.users.users."uucp".home}/.ssh
116 cp ${builtins.toFile "ssh-config" config.services.uucp.sshConfig} ${config.users.users."uucp".home}/.ssh/config 116 chown ${users.users."uucp".name}:${users.users."uucp".group} ${config.users.users."uucp".home}/.ssh
117 chmod 700 ${config.users.users."uucp".home}/.ssh
118 ln -s ${builtins.toFile "ssh-config" config.services.uucp.sshConfig} ${config.users.users."uucp".home}/.ssh/config
117 ''; 119 '';
118 120
119 environment.etc."uucp/port" = { 121 environment.etc."uucp/port" = {