diff options
author | sternenseemann <sternenseemann@systemli.org> | 2022-10-09 12:24:23 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2022-10-10 15:22:40 +0200 |
commit | cea1f30fa3791807f7d328870fab9187a4d8eeee (patch) | |
tree | ada12911f609dfc7d5390faebd5f0d58b13852de /modules/user/sternenseemann/profiles/desktop-sway.nix | |
parent | d2c18b5cbd80bc3bc9e9cf42fda9a1d7ee6cf52f (diff) |
modules/sternenseemann/desktop-sway: check fontconfig for emoji font
Diffstat (limited to 'modules/user/sternenseemann/profiles/desktop-sway.nix')
-rw-r--r-- | modules/user/sternenseemann/profiles/desktop-sway.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/user/sternenseemann/profiles/desktop-sway.nix b/modules/user/sternenseemann/profiles/desktop-sway.nix index ba88eb9e..92d216f5 100644 --- a/modules/user/sternenseemann/profiles/desktop-sway.nix +++ b/modules/user/sternenseemann/profiles/desktop-sway.nix @@ -35,6 +35,7 @@ let ''; defaultFont = builtins.head config.fonts.fontconfig.defaultFonts.monospace; + defaultEmojiFont = builtins.head config.fonts.fontconfig.defaultFonts.emoji; mkDefEnableOption = text: lib.mkEnableOption text // { default = true; @@ -102,7 +103,7 @@ in options = { size = 8; }; } { - font = "Noto Color Emoji"; + font = defaultEmojiFont; options = { size = 8; }; } ]; |