From e39b64bccd16b7ff3681b43606336754eeda13b5 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 13 Feb 2026 14:10:42 -0500 Subject: [PATCH] fix: set theme on login --- home/home.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/home/home.nix b/home/home.nix index 727767c..b0e5fe4 100644 --- a/home/home.nix +++ b/home/home.nix @@ -52,6 +52,18 @@ Install.WantedBy = [ "timers.target" ]; }; + systemd.user.services.theme-apply = { + Unit = { + Description = "Apply theme on login"; + After = [ "graphical-session.target" ]; + }; + Service = { + Type = "oneshot"; + ExecStart = "${pkgs.bash}/bin/bash -lc '${config.home.homeDirectory}/.config/nix/scripts/theme ${config.theme}'"; + }; + Install.WantedBy = [ "graphical-session.target" ]; + }; + systemd.user.services.cliphist-wipe = { Unit.Description = "Clear clipboard history on session end"; Service = {