flocon/modules/nix/style/default.nix
Anthony Rodriguez 851024052d
modules: move style to nix/style
This is temporary, as we're going to get rid of that awkward style
module that was meant to be shared, but ended up being too specific to
my use-case. We just put it in a nix directory for now, as we will with
everything else. This will be refactored later to be mixed with the
relevant program's configuration.
2025-01-14 11:02:13 +01:00

29 lines
503 B
Nix

{
inputs,
config,
lib,
...
}: let
inherit (lib) mkIf;
cfg = config.local.style;
in {
imports =
[
inputs.niri.nixosModules.niri
inputs.hyprland.nixosModules.default
]
++ lib.filesystem.listFilesRecursive ./modules;
config = mkIf cfg.enable {
home-manager.sharedModules = [
{
home.pointerCursor = {
inherit (cfg.cursorTheme) name package size;
x11.enable = true;
gtk.enable = true;
};
}
];
};
}