avoid using unitConfig
This commit is contained in:
parent
83c77740b3
commit
13024f42bd
2
lib.nix
2
lib.nix
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user