Unverified Commit 82e1380d authored by misuzu's avatar misuzu Committed by GitHub
Browse files

nixos/glance: fix "invalid user 'glance'" error (#456164)

parents 0e6d6f4a 4ba4852f
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -172,7 +172,14 @@ in
    systemd.services.glance = {
      description = "Glance feed dashboard server";
      wantedBy = [ "multi-user.target" ];
      after = [ "network.target" ];
      # adding nss-user-lookup.target is a fix for https://github.com/NixOS/nixpkgs/issues/409348
      after = [
        "network.target"
        "nss-user-lookup.target"
      ];
      requires = [
        "nss-user-lookup.target"
      ];
      path = [ pkgs.replace-secret ];

      serviceConfig = {