Oops wrong upload
This commit is contained in:
parent
12214c45e7
commit
9982a52479
|
@ -18,9 +18,9 @@
|
||||||
path = with pkgs; [jq coreutils udisks bash util-linux auto-mount];
|
path = with pkgs; [jq coreutils udisks bash util-linux auto-mount];
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "Mount External Drive on %i";
|
description = "Mount External Drive on %i";
|
||||||
script = "auto-mount add %i";
|
|
||||||
preStop = "auto-mount remove %i";
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
execStart = "auto-mount add %i";
|
||||||
|
execStop = "auto-mount remove %i";
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue