diff options
Diffstat (limited to 'custom/uucp.nix')
-rw-r--r-- | custom/uucp.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix index 54f5aac4..e812c4cf 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix | |||
@@ -244,6 +244,7 @@ in { | |||
244 | 244 | ||
245 | users.users."uucp" = { | 245 | users.users."uucp" = { |
246 | name = "uucp"; | 246 | name = "uucp"; |
247 | group = "uucp"; | ||
247 | isSystemUser = true; | 248 | isSystemUser = true; |
248 | isNormalUser = false; | 249 | isNormalUser = false; |
249 | createHome = true; | 250 | createHome = true; |
@@ -252,6 +253,7 @@ in { | |||
252 | useDefaultShell = true; | 253 | useDefaultShell = true; |
253 | openssh.authorizedKeys.keys = map restrictKey (concatLists (mapAttrsToList (name: node: node.publicKeys) cfg.remoteNodes)); | 254 | openssh.authorizedKeys.keys = map restrictKey (concatLists (mapAttrsToList (name: node: node.publicKeys) cfg.remoteNodes)); |
254 | } // cfg.sshUser; | 255 | } // cfg.sshUser; |
256 | users.groups."uucp" = {}; | ||
255 | 257 | ||
256 | system.activationScripts."uucp-sshconfig" = '' | 258 | system.activationScripts."uucp-sshconfig" = '' |
257 | mkdir -p ${config.users.users."uucp".home}/.ssh | 259 | mkdir -p ${config.users.users."uucp".home}/.ssh |