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,15 +1,16 @@
{
lib,
config,
osConfig,
...
}: let
inherit (config.colorscheme) palette;
inherit (osConfig.ooknet.appearance.colorscheme) palette;
inherit (osConfig.ooknet.appearance) fonts;
inherit (config.ooknet.desktop) pdf;
inherit (lib) mkIf;
zathura = {"application/pdf" = ["org.pwmt.zathura.desktop"];};
cfg = config.ooknet.productivity.pdf.zathura;
pdf = config.ooknet.desktop.pdf;
fonts = config.ooknet.fonts;
in {
config = mkIf (cfg.enable || pdf == "zathura") {
programs.zathura = {