aboutsummaryrefslogtreecommitdiffstats
path: root/apps/cgit/integration.nix
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-05-07 09:43:19 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-05-07 09:43:51 +0200
commitc978457f3a591188b6273e93fdf397896322c9d5 (patch)
tree84b83e39c6a833cd7bedb8f4340d6a46abc9fada /apps/cgit/integration.nix
parentfd001926dfab0d32ed41c6a6d0b36d5ad213696d (diff)
git: add kirchner's alternative ssh key
Diffstat (limited to 'apps/cgit/integration.nix')
-rw-r--r--apps/cgit/integration.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/cgit/integration.nix b/apps/cgit/integration.nix
index 8190c2a..608c29f 100644
--- a/apps/cgit/integration.nix
+++ b/apps/cgit/integration.nix
@@ -4,9 +4,9 @@
users.users.git.createHome = true;
users.users.git.shell = "${pkgs.git}/bin/git-shell";
users.users.git.openssh.authorizedKeys.keyFiles =
- lib.optionals (appConfig.users != null) (lib.mapAttrsToList
- (name: attrs: attrs.publicKeyFile)
- appConfig.users);
+ lib.optionals (appConfig.users != null) (lib.concatLists (lib.mapAttrsToList
+ (name: attrs: attrs.publicKeyFiles)
+ appConfig.users));
bindMounts."/var/lib/git".isReadOnly = false;