avoid using unitConfig

This commit is contained in:
Simon Gardling 2025-07-11 20:44:18 -07:00
parent 83c77740b3
commit 13024f42bd
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

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