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

This commit is contained in:
Gutyina Gergő
2025-10-29 13:28:28 +01:00
parent 2e8953486b
commit 4ba4852f23
+8 -1
View File
@@ -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 = {