Let's try this

This commit is contained in:
Lillian Violet 2024-03-21 00:28:26 +01:00
parent faca909eb0
commit 9cd823818c

View file

@ -22,8 +22,8 @@
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"; scriptArgs = " %i";
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;
@ -34,8 +34,8 @@
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"; scriptArgs = " %i";
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = false; RemainAfterExit = false;