diff --git a/nixos/hosts/shodan/auto-mount.nix b/nixos/hosts/shodan/auto-mount.nix index e9b031f..d44b212 100644 --- a/nixos/hosts/shodan/auto-mount.nix +++ b/nixos/hosts/shodan/auto-mount.nix @@ -21,8 +21,8 @@ serviceConfig = { Type = "oneshot"; RemainAfterExit = true; - ExecStart = "auto-mount add %i"; - ExecStop = "auto-mount remove %i"; + ExecStart = "${pkgs.auto-mount} add %i"; + ExecStop = "${pkgs.auto-mount} remove %i"; }; }; }