Remove some more deps to remove cycles, hopefully

This commit is contained in:
niten 2023-11-03 16:08:44 -07:00
parent fdc658a263
commit 88bcd94803

View File

@ -179,7 +179,7 @@ let
}; };
heimdal-hprop = mkIf hasSecondary { heimdal-hprop = mkIf hasSecondary {
wantedBy = [ "heimdal-kdc.service" ]; wantedBy = [ "multi-user.service" ];
description = description =
"Service to propagate the KDC database to secondary servers."; "Service to propagate the KDC database to secondary servers.";
path = with pkgs; [ heimdal ]; path = with pkgs; [ heimdal ];
@ -218,8 +218,7 @@ let
paths.heimdal-hprop = mkIf hasSecondary { paths.heimdal-hprop = mkIf hasSecondary {
wantedBy = [ "heimdal-hprop.service" ]; wantedBy = [ "heimdal-hprop.service" ];
bindsTo = [ "heimdal-hprop.service" ]; bindsTo = [ "heimdal-hprop.service" ];
after = [ "heimdal-kdc.service" ]; pathConfig.PathModified = cfg.kdc.database;
pathConfig = { PathModified = cfg.kdc.database; };
}; };
}; };