Maybe this will work?

This commit is contained in:
Lillian Violet 2024-03-20 23:35:27 +01:00
parent 6b0155a6b4
commit 5df487f073

View file

@ -21,8 +21,8 @@
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;
ExecStart = "${pkgs.auto-mount} add %i"; script = "auto-mount add %i";
ExecStop = "${pkgs.auto-mount} remove %i"; preStop = "auto-mount remove %i";
}; };
}; };
} }