From 585b794251e1b88800ea603fff8eff3d9ea925df Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 21 Mar 2024 00:45:25 +0100 Subject: [PATCH] First argument then --- nixos/hosts/shodan/auto-mount.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/shodan/auto-mount.nix b/nixos/hosts/shodan/auto-mount.nix index dbeee45..f223b87 100644 --- a/nixos/hosts/shodan/auto-mount.nix +++ b/nixos/hosts/shodan/auto-mount.nix @@ -22,7 +22,7 @@ path = with pkgs; [jq coreutils udisks bash util-linux auto-mount]; enable = true; description = "Mount External Drive on %i"; - script = "auto-mount add $@"; + script = "auto-mount add $1"; serviceConfig = { Type = "oneshot"; RemainAfterExit = true; @@ -33,7 +33,7 @@ path = with pkgs; [jq coreutils udisks bash util-linux auto-mount]; enable = true; description = "Mount External Drive on %i"; - script = "auto-mount remove $@"; + script = "auto-mount remove $1"; serviceConfig = { Type = "oneshot"; RemainAfterExit = false;