From 4b9e1b998bc282940cae569eff73366c99d37936 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Tue, 21 Feb 2023 16:35:44 -0500 Subject: [PATCH] fix startup task units --- machines/levitation/home.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/machines/levitation/home.nix b/machines/levitation/home.nix index 68e11de..95abe42 100644 --- a/machines/levitation/home.nix +++ b/machines/levitation/home.nix @@ -62,6 +62,7 @@ ${pkgs.solaar}/bin/solaar -w hide ''; }; + Install = { WantedBy = [ "graphical-session.target" ]; }; }; # Startup noisetorch on our USB mic noisetorch-startup = { @@ -70,11 +71,12 @@ After = [ "graphical-session.target" ]; }; Service = { - Type = "Noisetorch"; + Type = "oneshot"; ExecStart = '' /run/wrappers/bin/noisetorch -i alsa_input.usb-18072020_JLAB_TALK_GO_MICROPHONE-00.analog-stereo ''; }; + Install = { WantedBy = [ "graphical-session.target" ]; }; }; };