From b52ae19a64e16ac72e63cb27567c75465715bd1d Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 21 Mar 2024 14:12:22 +0100 Subject: [PATCH] Hmm --- 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 9338062..74a3eba 100644 --- a/nixos/hosts/shodan/auto-mount.nix +++ b/nixos/hosts/shodan/auto-mount.nix @@ -24,8 +24,8 @@ scriptArgs = "%i"; serviceConfig = { - ExecStart = "echo ${pkgs.auto-mount} add $@"; - ExecStop = "echo ${pkgs.auto-mount} remove $@"; + ExecStart = "${pkgs.toybox}/bin/echo ${pkgs.auto-mount} add %i"; + ExecStop = "${pkgs.toybox}/bin/echo ${pkgs.auto-mount} remove %i"; Type = "oneshot"; RemainAfterExit = true; };