diff --git a/modules/programs/hypr/idle.nix b/modules/programs/hypr/idle.nix index 1f6e133..60d2eaf 100644 --- a/modules/programs/hypr/idle.nix +++ b/modules/programs/hypr/idle.nix @@ -52,7 +52,7 @@ in { wantedBy = ["graphical-session.target"]; restartTriggers = ["${config.hjem.users.${username}.files.".config/hypr/hypridle.conf".text}"]; serviceConfig = { - Type = "exec"; + Type = "simple"; ExecStart = "${hypridle}/bin/hypridle"; Restart = "on-failure"; Slice = "background-graphical.slice"; diff --git a/modules/programs/terminal/emulators/ghostty.nix b/modules/programs/terminal/emulators/ghostty.nix index c299681..229f46e 100644 --- a/modules/programs/terminal/emulators/ghostty.nix +++ b/modules/programs/terminal/emulators/ghostty.nix @@ -108,8 +108,8 @@ in { serviceConfig = { Type = "simple"; ExecStart = "${pkgs.ghostty}/bin/ghostty --initial-window=false --quit-after-last-window-closed=false"; - Slice = "background-graphical.slice"; Restart = "on-failure"; + Slice = "background-graphical.slice"; }; }; }; diff --git a/modules/services/gammastep.nix b/modules/services/gammastep.nix index 75d2ec3..27bd358 100644 --- a/modules/services/gammastep.nix +++ b/modules/services/gammastep.nix @@ -27,6 +27,7 @@ in { wants = ["geoclue-agent.service"]; wantedBy = ["graphical-session.target"]; serviceConfig = { + Type = "simple"; ExecStart = "${pkgs.gammastep}/bin/gammastep-indicator"; Restart = "on-failure"; RestartSec = 3; diff --git a/modules/services/swaync/default.nix b/modules/services/swaync/default.nix index 716e87d..ddc1509 100644 --- a/modules/services/swaync/default.nix +++ b/modules/services/swaync/default.nix @@ -42,10 +42,11 @@ in { partOf = ["graphical-session.target"]; wantedBy = ["graphical-session.target"]; serviceConfig = { + Type = "dbus"; BusName = "org.freedesktop.Notifications"; ExecStart = "${pkgs.swaynotificationcenter}/bin/swaync"; Restart = "on-failure"; - Type = "dbus"; + Slice = "background-graphical.slice"; }; }; };