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

This commit is contained in:
misuzu 2025-10-29 12:42:24 +00:00 committed by GitHub
commit 82e1380db8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 = {