nixos/glance: start after nss to fix invalid user 'glance' error
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user