avoid using unitConfig

This commit is contained in:
2025-07-11 20:44:18 -07:00
parent 83c77740b3
commit 13024f42bd

View File

@@ -27,7 +27,7 @@ inputs.nixpkgs.lib.extend (
serviceMountDeps = serviceName: dirs: { serviceMountDeps = serviceName: dirs: {
systemd.services."${serviceName}_mounts" = { systemd.services."${serviceName}_mounts" = {
unitConfig.Wants = "zfs.target"; wants = [ "zfs.target" ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;