Oh wait am I dumb
This commit is contained in:
parent
e3ae2429c7
commit
19f8b887d3
|
@ -21,7 +21,8 @@
|
|||
systemd.services."external-drive-mount@" = {
|
||||
path = with pkgs; [jq coreutils udisks bash util-linux auto-mount];
|
||||
enable = true;
|
||||
script = "echo auto-mount add %i && auto-mount add %i";
|
||||
script = "echo auto-mount $@";
|
||||
scriptArgs = " %i";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
|
|
Loading…
Reference in a new issue