Try this again?
This commit is contained in:
parent
05d9dd368a
commit
e3ae2429c7
|
@ -21,7 +21,7 @@
|
||||||
systemd.services."external-drive-mount@" = {
|
systemd.services."external-drive-mount@" = {
|
||||||
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;
|
||||||
script = "echo auto-mount add $@ && auto-mount add $@";
|
script = "echo auto-mount add %i && auto-mount add %i";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
|
|
Loading…
Reference in a new issue