Auto-mount for steam deck fixed
This commit is contained in:
parent
19f8b887d3
commit
a373404b3b
|
@ -22,7 +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;
|
||||||
script = "echo auto-mount $@";
|
script = "echo auto-mount $@";
|
||||||
scriptArgs = " %i";
|
scriptArgs = "%i";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
|
@ -32,7 +32,8 @@
|
||||||
systemd.services."external-drive-unmount@" = {
|
systemd.services."external-drive-unmount@" = {
|
||||||
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;
|
||||||
script = "auto-mount remove $1";
|
script = "auto-mount remove $@";
|
||||||
|
scriptArgs = "%i";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = false;
|
RemainAfterExit = false;
|
||||||
|
|
Loading…
Reference in a new issue