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
|
|
@ -7,13 +7,13 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkMerge;
|
||||
fonts = config.ooknet.fonts;
|
||||
palette = config.colorscheme.palette;
|
||||
inherit (osConfig.ooknet.host) admin;
|
||||
inherit (osConfig.ooknet.appearance) colorscheme fonts;
|
||||
inherit (colorscheme) palette;
|
||||
inherit (config.ooknet.desktop) browser;
|
||||
|
||||
addons = inputs.firefox-addons.packages.${pkgs.system};
|
||||
cfg = config.ooknet.browser.firefox;
|
||||
browser = config.ooknet.desktop.browser;
|
||||
admin = osConfig.ooknet.host.admin;
|
||||
firefoxMime = {
|
||||
"text/html" = ["firefox.desktop"];
|
||||
"x-scheme-handler/http" = ["firefox.desktop"];
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@
|
|||
palette,
|
||||
fonts,
|
||||
...
|
||||
}: ''
|
||||
}:
|
||||
# css
|
||||
''
|
||||
/* minimal firefox css ooks */
|
||||
|
||||
/* ===== Color Variables and Root Styles ===== */
|
||||
|
|
@ -106,8 +108,7 @@
|
|||
}
|
||||
|
||||
/* Expand navigation bar on focus */
|
||||
#nav-bar:focus-within,
|
||||
#nav-bar:hover {
|
||||
#nav-bar:focus-within {
|
||||
opacity: 1;
|
||||
max-height: 40px !important;
|
||||
height: 60px !important;
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (config.colorscheme) palette;
|
||||
|
||||
inherit (osConfig.ooknet.appearance) colorscheme fonts;
|
||||
inherit (colorscheme) palette;
|
||||
inherit (config.ooknet.desktop) browser;
|
||||
cfg = config.ooknet.browser.firefox;
|
||||
browser = config.ooknet.desktop.browser;
|
||||
fonts = config.ooknet.fonts;
|
||||
in {
|
||||
config = mkIf (browser == "firefox" || cfg.enable) {
|
||||
xdg.configFile = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue