From 2459cea831b641204dc86b0b18f278988ac81ae8 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 21 Mar 2024 13:52:07 +0100 Subject: [PATCH] Let's see what it does then --- 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 bfe9b1b..6d0a527 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 toybox auto-mount]; enable = true; script = "auto-mount add $@"; - preStop = "auto-mount remove $@"; + preStop = "echo auto-mount remove $@"; scriptArgs = "%i"; serviceConfig = { Type = "oneshot";