From 72eae5ac3be2c4c036994d539efa5d685971eaa8 Mon Sep 17 00:00:00 2001 From: lucy Date: Mon, 19 Oct 2026 14:56:06 +0200 Subject: [PATCH] add nixos stylix targets --- modules/default.nix | 3 ++- modules/system/stylix/default.nix | 1 - modules/system/stylix/targets.nix | 11 ++++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/modules/default.nix b/modules/default.nix index 1d697b3..ca23e72 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -11,7 +11,8 @@ let boot core easyroam - + myStylix + stylixTargets /etc/nixos/hardware-configuration.nix ]; in diff --git a/modules/system/stylix/default.nix b/modules/system/stylix/default.nix index f49dbfd..d04e3d9 100644 --- a/modules/system/stylix/default.nix +++ b/modules/system/stylix/default.nix @@ -2,7 +2,6 @@ flake.nixosModules.myStylix = { pkgs, ... }: { imports = [ inputs.stylix.nixosModules.stylix - stylixTargets ]; stylix = { enable = true; diff --git a/modules/system/stylix/targets.nix b/modules/system/stylix/targets.nix index 66d7c40..ec95846 100644 --- a/modules/system/stylix/targets.nix +++ b/modules/system/stylix/targets.nix @@ -1,6 +1,15 @@ { inputs, ... }: { flake.nixosModules.stylixTargets = { imports = [ inputs.stylix.nixosModules.stylix ]; - stylix.targets = { }; + stylix.autoEnable = false; + stylix.targets = { + gtk.enable = true; + chromium.enable = true; + console.enable = true; + font-packages.enable = true; + fontconfig.enable = true; + limine.enable = true; + limine.image.enable = false; + }; }; }