{ lib, inputs, ... }: let keep = [ "spicetify" "neovim" "qt" "gtk" "hyprland" "hyprpaper" "foot" "ghostty" "fuzzel" "discord" "console" ]; dir = "${inputs.stylix}/modules"; drop = builtins.filter (n: !(builtins.elem n keep)) ( builtins.attrNames (lib.filterAttrs (_: t: t == "directory") (builtins.readDir dir)) ); disable = platform: map (n: "${dir}/${n}/${platform}.nix") ( builtins.filter (n: builtins.pathExists "${dir}/${n}/${platform}.nix") drop ); in { disabledModules = disable "hm"; stylix = { enable = true; autoEnable = false; targets = { gtk.enable = true; nixcord.enable = true; qt.enable = true; hyprland.enable = true; hyprland.hyprpaper.enable = false; fuzzel.enable = true; ghostty.enable = true; foot.enable = true; spicetify.enable = true; }; }; }