summaryrefslogtreecommitdiff
path: root/modules/home-manager
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2023-03-09 10:56:00 +0100
committerquentin@aristote.fr <quentin@aristote.fr>2023-03-09 10:59:37 +0100
commite19b95821d16f44a132e5eb9a6a52bd3b3efd978 (patch)
treecb0f548cc52dffc94d4c8fa698db9b877871bc0f /modules/home-manager
parent51eab484c5f473a7c8dce7fbdd55dbb47c823879 (diff)
home: rofi: fix setting of font
Diffstat (limited to 'modules/home-manager')
-rw-r--r--modules/home-manager/personal/programs/rofi.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/home-manager/personal/programs/rofi.nix b/modules/home-manager/personal/programs/rofi.nix
index 141339c..23c1917 100644
--- a/modules/home-manager/personal/programs/rofi.nix
+++ b/modules/home-manager/personal/programs/rofi.nix
@@ -4,5 +4,7 @@
programs.rofi = {
cycle = lib.mkDefault true;
theme = lib.mkDefault config.personal.home.dotfiles.rofi;
+ # TODO: remove this when stylix fixes it upstream
+ font = lib.mkIf (config ? stylix) (lib.mkForce "${config.stylix.fonts.monospace.name} 12");
};
}