Oh wait am I dumb
This commit is contained in:
parent
e3ae2429c7
commit
19f8b887d3
|
@ -21,7 +21,8 @@
|
||||||
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 %i && auto-mount add %i";
|
script = "echo auto-mount $@";
|
||||||
|
scriptArgs = " %i";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
|
|
Loading…
Reference in a new issue