34 lines
556 B
Nix
34 lines
556 B
Nix
{
|
|
inputs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf;
|
|
|
|
cfg = config.local.style;
|
|
in {
|
|
imports =
|
|
[
|
|
inputs.niri.nixosModules.niri
|
|
inputs.hyprland.nixosModules.default
|
|
|
|
./options.nix
|
|
]
|
|
++ 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;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
}
|