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,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") {
|
||||
|
|
|
|||
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue