Oh wait am I dumb

This commit is contained in:
Lillian Violet 2024-03-21 00:53:11 +01:00
parent e3ae2429c7
commit 19f8b887d3

View file

@ -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;