New font
This commit is contained in:
parent
579fc14a49
commit
ae65065d5c
1 changed files with 21 additions and 5 deletions
|
@ -1,7 +1,14 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let cfg = config.voidconf.fontConfig;
|
||||
in {
|
||||
let
|
||||
cfg = config.voidconf.fontConfig;
|
||||
in
|
||||
{
|
||||
options.voidconf.fontConfig = {
|
||||
enable = mkEnableOption "Enable opinionated font configuration";
|
||||
joyPixels = mkEnableOption "Enables the JoyPixels font";
|
||||
|
@ -10,7 +17,12 @@ in {
|
|||
fonts = {
|
||||
fontDir.enable = true;
|
||||
packages = with pkgs; [
|
||||
(nerdfonts.override { fonts = [ "FiraCode" "Iosevka" ]; })
|
||||
(nerdfonts.override {
|
||||
fonts = [
|
||||
"FiraCode"
|
||||
"Iosevka"
|
||||
];
|
||||
})
|
||||
baekmuk-ttf
|
||||
blackout
|
||||
bqn386
|
||||
|
@ -29,6 +41,7 @@ in {
|
|||
noto-fonts-emoji
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
orbitron
|
||||
prociono
|
||||
ubuntu_font_family
|
||||
uiua386
|
||||
|
@ -64,7 +77,10 @@ in {
|
|||
"Baekmuk Dotum"
|
||||
"Noto Color Emoji"
|
||||
];
|
||||
emoji = [ "Noto Color Emoji" (mkIf cfg.joyPixels "JoyPixels") ];
|
||||
emoji = [
|
||||
"Noto Color Emoji"
|
||||
(mkIf cfg.joyPixels "JoyPixels")
|
||||
];
|
||||
};
|
||||
|
||||
localConf = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue