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,13 +1,14 @@
{
config,
osConfig,
lib,
...
}: let
inherit (config.colorscheme) palette;
inherit (osConfig.ooknet.appearance) colorscheme fonts;
inherit (colorscheme) palette;
inherit (config.ooknet) desktop;
inherit (lib) mkMerge mkIf;
fonts = config.ooknet.fonts;
cfg = config.ooknet.terminal.foot;
desktop = config.ooknet.desktop;
in {
config = mkMerge [
(mkIf (cfg.enable || desktop.terminal == "foot") {

View file

@ -5,11 +5,12 @@
...
}: let
inherit (lib) mkIf;
inherit (config.colorscheme) palette;
fonts = config.ooknet.fonts;
inherit (osConfig.ooknet.appearance) colorscheme fonts;
inherit (colorscheme) palette;
inherit (config.ooknet) host desktop;
inherit (desktop) terminal;
inherit (host.admin) shell;
cfg = config.ooknet.terminal.kitty;
terminal = config.ooknet.desktop.terminal;
shell = osConfig.ooknet.host.admin.shell;
in {
config = mkIf (cfg.enable || terminal == "kitty") {
home.sessionVariables = mkIf (terminal == "kitty") {