# Pastebin rDKnS95f systemd.user.services.minikube-shutdown = { Unit = { Before = "shutdown.target"; Description = "Stop minikube on shutdown"; }; Install = { WantedBy = [ "multi-user.target" ]; }; Service = { Type = "oneshot"; RemainAfterExit = "yes"; # ExecStart = "${pkgs.coreutils}/bin/true"; ExecStop = "${pkgs.minikube}/bin/minikube stop"; }; };