From 7293373b25b974a2aaf706a6e93feb4b55b2f9e6 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Thu, 5 Dec 2024 21:14:32 +0100 Subject: [PATCH] home/hyprland: fix a few systemd unit targets --- home/programs/hyprland.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home/programs/hyprland.nix b/home/programs/hyprland.nix index 1412205..22270d9 100644 --- a/home/programs/hyprland.nix +++ b/home/programs/hyprland.nix @@ -91,7 +91,9 @@ in wayland.windowManager.hyprland = { enable = true; + systemd.enable = false; + systemd.enableXdgAutostart = false; settings = let scratchpads = [ @@ -321,4 +323,12 @@ in }; }; }; + + # UWSM + systemd.user.services = { + hypridle.Unit.After = lib.mkForce "graphical-session.target"; + xplugd.Unit.After = lib.mkForce "graphical-session.target"; + waybar.Unit.After = lib.mkForce "graphical-session.target"; + # hyprpaper.Unit.After = lib.mkForce "graphical-session.target"; + }; }