This commit is contained in:
Dmitry Voronin 2024-12-28 11:35:57 +03:00
parent 8f00269caf
commit 1d87a291ca
2 changed files with 27 additions and 23 deletions

View file

@ -30,7 +30,13 @@ in
}; };
style = lib.mkOption { style = lib.mkOption {
default = style; default = style;
type = with lib.types; nullOr (oneOf [ path lines attrs ]); type =
with lib.types;
nullOr (oneOf [
path
lines
attrs
]);
}; };
}; };
} }

View file

@ -4,9 +4,8 @@ let
wallpaper = config.module.wallpaper; wallpaper = config.module.wallpaper;
in in
{ {
config = lib.mkMerge [ stylix = lib.mkMerge [
{ {
stylix = {
inherit (config.module.style) cursor; inherit (config.module.style) cursor;
enable = true; enable = true;
autoEnable = true; autoEnable = true;
@ -30,7 +29,6 @@ in
applications = application; applications = application;
popups = popups; popups = popups;
}; };
};
} }
(lib.mkIf wallpaper.forceContrastText { (lib.mkIf wallpaper.forceContrastText {