feat(nixos:appearance): move appearance options to nixos

This commit is contained in:
ooks-io 2024-08-05 17:29:53 +12:00
parent cedeb52103
commit ceb66c03cf
51 changed files with 393 additions and 377 deletions

View file

@ -1,18 +1,7 @@
{
lib,
config,
...
}: let
inherit (lib) mkIf;
cfg = config.ooknet.cursor;
in {
config = mkIf cfg.enable {
home.pointerCursor = {
package = cfg.package;
name = cfg.name;
size = cfg.size;
gtk.enable = true;
x11.enable = true;
};
{osConfig, ...}: {
home.pointerCursor = {
inherit (osConfig.ooknet.appearance.cursor) package name size;
gtk.enable = true;
x11.enable = true;
};
}