feat(nixos:appearance): move appearance options to nixos
This commit is contained in:
parent
cedeb52103
commit
ceb66c03cf
51 changed files with 393 additions and 377 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue