Let's try this then

This commit is contained in:
Lillian Violet 2024-03-21 00:37:07 +01:00
parent 9cd823818c
commit f89e9796fa

View file

@ -22,8 +22,7 @@
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"; script = "auto-mount add $@";
scriptArgs = " %i";
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;
@ -34,8 +33,7 @@
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 remove"; script = "auto-mount remove $@";
scriptArgs = " %i";
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = false; RemainAfterExit = false;