add nixos stylix targets

This commit is contained in:
lucy 2026-10-19 14:56:06 +02:00
commit 72eae5ac3b
3 changed files with 12 additions and 3 deletions

View file

@ -11,7 +11,8 @@ let
boot boot
core core
easyroam easyroam
myStylix
stylixTargets
/etc/nixos/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
]; ];
in in

View file

@ -2,7 +2,6 @@
flake.nixosModules.myStylix = { pkgs, ... }: { flake.nixosModules.myStylix = { pkgs, ... }: {
imports = [ imports = [
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix
stylixTargets
]; ];
stylix = { stylix = {
enable = true; enable = true;

View file

@ -1,6 +1,15 @@
{ inputs, ... }: { { inputs, ... }: {
flake.nixosModules.stylixTargets = { flake.nixosModules.stylixTargets = {
imports = [ inputs.stylix.nixosModules.stylix ]; 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;
};
}; };
} }