summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home-manager/cez/home.nix7
-rw-r--r--home-manager/wayland/modules/zathura.nix8
2 files changed, 9 insertions, 6 deletions
diff --git a/home-manager/cez/home.nix b/home-manager/cez/home.nix
index d491cf2..a756be7 100644
--- a/home-manager/cez/home.nix
+++ b/home-manager/cez/home.nix
@@ -1,5 +1,8 @@
-{ ... }: {
+{ ... }: let
+ font = "Sans 13";
+in {
imports = [ ../wayland/home.nix ];
- services.mako.font = "Sans 13";
+ services.mako.font = font;
+ programs.zathura.options.font = font;
}
diff --git a/home-manager/wayland/modules/zathura.nix b/home-manager/wayland/modules/zathura.nix
index f7b7e4d..6751f32 100644
--- a/home-manager/wayland/modules/zathura.nix
+++ b/home-manager/wayland/modules/zathura.nix
@@ -1,4 +1,4 @@
-{ ... }: {
+{ lib, ... }: {
programs.zathura = {
enable = true;
@@ -7,9 +7,9 @@
"[fullscreen] f" = "toggle_fullscreen";
};
options = {
- "font" = "Sans";
- "statusbar-basename" = true;
- "selection-clipboard" = "clipboard";
+ font = lib.mkDefault "Sans";
+ statusbar-basename = true;
+ selection-clipboard = "clipboard";
};
};
}