nixos/kanidm: fix systemd service type

This commit is contained in:
TheRealGramdalf 2024-08-26 18:05:32 +00:00
parent 6e97b254e5
commit 5a1e877394

View File

@ -67,8 +67,13 @@ let
) [ ];
defaultServiceConfig = {
# Setting the type to notify enables additional healthchecks, ensuring units
# after and requiring kanidm-* wait for it to complete startup
Type = "notify";
BindReadOnlyPaths = [
"/nix/store"
# For healthcheck notifications
"/run/systemd/notify"
"-/etc/resolv.conf"
"-/etc/nsswitch.conf"
"-/etc/hosts"