summaryrefslogtreecommitdiff
path: root/system-profiles/build-server
diff options
context:
space:
mode:
Diffstat (limited to 'system-profiles/build-server')
-rw-r--r--system-profiles/build-server/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/system-profiles/build-server/default.nix b/system-profiles/build-server/default.nix
index 9c821f64..d0bfaf10 100644
--- a/system-profiles/build-server/default.nix
+++ b/system-profiles/build-server/default.nix
@@ -28,7 +28,7 @@
28 28
29 users.users.nix-ssh-builder.openssh.authorizedKeys.keys = 29 users.users.nix-ssh-builder.openssh.authorizedKeys.keys =
30 let 30 let
31 importKeys = dir: lib.attrValues (customUtils.mapFilterAttrs (_: v: v == "directory") (n: _: lib.nameValuePair n (importKeys' dir n)) (builtins.readDir dir)); 31 importKeys = dir: lib.attrValues (customUtils.mapFilterAttrs (_: v: v != null) (n: v: lib.nameValuePair n (if v == "directory" then importKeys' dir n else null)) (builtins.readDir dir));
32 importKeys' = dir: host: builtins.readFile (dir + "/${host}/public"); 32 importKeys' = dir: host: builtins.readFile (dir + "/${host}/public");
33 in importKeys ./clients; 33 in importKeys ./clients;
34 }; 34 };