Unverified Commit 4ba4852f authored by Gutyina Gergő's avatar Gutyina Gergő
Browse files

nixos/glance: start after nss to fix invalid user 'glance' error

parent 2e895348
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 = {