Let's try this
This commit is contained in:
parent
faca909eb0
commit
9cd823818c
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue