Auto-mount for steam deck fixed

This commit is contained in:
Lillian Violet 2024-03-21 00:56:04 +01:00
parent 19f8b887d3
commit a373404b3b

View file

@ -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;