change structure to make it more readable

This commit is contained in:
lucy 2026-07-30 17:20:40 +02:00
commit ad86712653
31 changed files with 259 additions and 234 deletions

View file

@ -1,48 +0,0 @@
{
lib,
inputs,
...
}:
let
keep = [
"spicetify"
"neovim"
"qt"
"gtk"
"hyprland"
"hyprpaper"
"foot"
"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;
foot.enable = true;
spicetify.enable = true;
};
};
}