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

@ -32,7 +32,8 @@
systemd.services."external-drive-unmount@" = {
path = with pkgs; [jq coreutils udisks bash util-linux auto-mount];
enable = true;
script = "auto-mount remove $1";
script = "auto-mount remove $@";
scriptArgs = "%i";
serviceConfig = {
Type = "oneshot";
RemainAfterExit = false;