From e3ae2429c77bb37befe24600cb85e9807b97fff7 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 21 Mar 2024 00:51:28 +0100 Subject: [PATCH] Try this again? --- nixos/hosts/shodan/auto-mount.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/hosts/shodan/auto-mount.nix b/nixos/hosts/shodan/auto-mount.nix index 568bf95..744811f 100644 --- a/nixos/hosts/shodan/auto-mount.nix +++ b/nixos/hosts/shodan/auto-mount.nix @@ -21,7 +21,7 @@ systemd.services."external-drive-mount@" = { path = with pkgs; [jq coreutils udisks bash util-linux auto-mount]; enable = true; - script = "echo auto-mount add $@ && auto-mount add $@"; + script = "echo auto-mount add %i && auto-mount add %i"; serviceConfig = { Type = "oneshot"; RemainAfterExit = true;