From 09eefe6f5e076b2a0630ea71c313c588d569d02a Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 9 Oct 2023 14:53:02 +0100 Subject: [PATCH] Fix where stylix xresources is defined --- flake.nix | 1 - home/hyprland/default.nix | 5 ++++- system/desktop.nix | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index e67a215c..1bdab327 100644 --- a/flake.nix +++ b/flake.nix @@ -169,7 +169,6 @@ ++ homeModules; home = { inherit username homeDirectory stateVersion; }; programs.home-manager.enable = true; - stylix.targets.xresources.enable = true; xdg.userDirs = { enable = true; createDirectories = true; diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 73ff6780..72171b71 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -21,7 +21,10 @@ enable = true; systemdTarget = "hyprland-session.target"; }; - stylix.targets.hyprland.enable = true; + stylix.targets = { + hyprland.enable = true; + xresources.enable = true; + }; wayland.windowManager.hyprland = { enable = true; xwayland.enable = true; diff --git a/system/desktop.nix b/system/desktop.nix index 836ce4dc..b46a51d4 100644 --- a/system/desktop.nix +++ b/system/desktop.nix @@ -49,7 +49,6 @@ homeManagerIntegration.followSystem = true; targets = { chromium.enable = true; - xresources.enable = true; # console.enable = true; # grub = { # enable = true;