about summary refs log tree commit diff
path: root/nixos/modules/services/misc
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2018-11-28 19:16:33 +0100
committerFlorian Klink <flokli@flokli.de>2018-11-28 23:09:23 +0100
commit3caeeabb1484358b5d6d63f346767dc1764c424a (patch)
treed8461cf5957bf3710469c4010e5eccda9d3b8e3c /nixos/modules/services/misc
parenta3ec5dce2bcc7b346acd7a507821dc2bc105fbac (diff)
downloadnixlib-3caeeabb1484358b5d6d63f346767dc1764c424a.tar
nixlib-3caeeabb1484358b5d6d63f346767dc1764c424a.tar.gz
nixlib-3caeeabb1484358b5d6d63f346767dc1764c424a.tar.bz2
nixlib-3caeeabb1484358b5d6d63f346767dc1764c424a.tar.lz
nixlib-3caeeabb1484358b5d6d63f346767dc1764c424a.tar.xz
nixlib-3caeeabb1484358b5d6d63f346767dc1764c424a.tar.zst
nixlib-3caeeabb1484358b5d6d63f346767dc1764c424a.zip
gitlab: stop regenerating the authorized_keys file
Diffstat (limited to 'nixos/modules/services/misc')
-rw-r--r--nixos/modules/services/misc/gitlab.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix
index 07adf58c9b26..769a9526cf64 100644
--- a/nixos/modules/services/misc/gitlab.nix
+++ b/nixos/modules/services/misc/gitlab.nix
@@ -609,10 +609,6 @@ in {
           touch "${cfg.statePath}/db-seeded"
         fi
 
-        # The gitlab:shell:setup regenerates the authorized_keys file so that
-        # the store path to the gitlab-shell in it gets updated
-        ${pkgs.sudo}/bin/sudo -u ${cfg.user} -H force=yes ${gitlab-rake}/bin/gitlab-rake gitlab:shell:setup
-
         # The gitlab:shell:create_hooks task seems broken for fixing links
         # so we instead delete all the hooks and create them anew
         rm -f ${cfg.statePath}/repositories/**/*.git/hooks