Last shot
This commit is contained in:
parent
84f7b0509a
commit
301af9dc32
|
@ -21,8 +21,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";
|
script = "auto-mount add";
|
||||||
scriptArgs = "add %i";
|
scriptArgs = "%i";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
|
@ -33,8 +33,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";
|
script = "auto-mount remove";
|
||||||
scriptArgs = "remove %i";
|
scriptArgs = "%i";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = false;
|
RemainAfterExit = false;
|
||||||
|
|
Loading…
Reference in a new issue