Last shot

This commit is contained in:
Lillian Violet 2024-03-21 00:12:31 +01:00
parent 84f7b0509a
commit 301af9dc32

View file

@ -21,8 +21,8 @@
path = with pkgs; [jq coreutils udisks bash util-linux auto-mount];
enable = true;
description = "Mount External Drive on %i";
script = "auto-mount";
scriptArgs = "add %i";
script = "auto-mount add";
scriptArgs = "%i";
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
@ -33,8 +33,8 @@
path = with pkgs; [jq coreutils udisks bash util-linux auto-mount];
enable = true;
description = "Mount External Drive on %i";
script = "auto-mount";
scriptArgs = "remove %i";
script = "auto-mount remove";
scriptArgs = "%i";
serviceConfig = {
Type = "oneshot";
RemainAfterExit = false;