From 9982a52479b793c01a558e1e78436d201d754d7e Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Wed, 20 Mar 2024 23:50:43 +0100 Subject: [PATCH] Oops wrong upload --- 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 3ef57c0..2a3601b 100644 --- a/nixos/hosts/shodan/auto-mount.nix +++ b/nixos/hosts/shodan/auto-mount.nix @@ -18,9 +18,9 @@ path = with pkgs; [jq coreutils udisks bash util-linux auto-mount]; enable = true; description = "Mount External Drive on %i"; - script = "auto-mount add %i"; - preStop = "auto-mount remove %i"; serviceConfig = { + execStart = "auto-mount add %i"; + execStop = "auto-mount remove %i"; Type = "oneshot"; RemainAfterExit = true; };