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;
|
with lib;
|
||||||
let cfg = config.voidconf.fontConfig;
|
let
|
||||||
in {
|
cfg = config.voidconf.fontConfig;
|
||||||
|
in
|
||||||
|
{
|
||||||
options.voidconf.fontConfig = {
|
options.voidconf.fontConfig = {
|
||||||
enable = mkEnableOption "Enable opinionated font configuration";
|
enable = mkEnableOption "Enable opinionated font configuration";
|
||||||
joyPixels = mkEnableOption "Enables the JoyPixels font";
|
joyPixels = mkEnableOption "Enables the JoyPixels font";
|
||||||
|
@ -10,7 +17,12 @@ in {
|
||||||
fonts = {
|
fonts = {
|
||||||
fontDir.enable = true;
|
fontDir.enable = true;
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
(nerdfonts.override { fonts = [ "FiraCode" "Iosevka" ]; })
|
(nerdfonts.override {
|
||||||
|
fonts = [
|
||||||
|
"FiraCode"
|
||||||
|
"Iosevka"
|
||||||
|
];
|
||||||
|
})
|
||||||
baekmuk-ttf
|
baekmuk-ttf
|
||||||
blackout
|
blackout
|
||||||
bqn386
|
bqn386
|
||||||
|
@ -29,6 +41,7 @@ in {
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
noto-fonts-cjk-serif
|
noto-fonts-cjk-serif
|
||||||
|
orbitron
|
||||||
prociono
|
prociono
|
||||||
ubuntu_font_family
|
ubuntu_font_family
|
||||||
uiua386
|
uiua386
|
||||||
|
@ -64,7 +77,10 @@ in {
|
||||||
"Baekmuk Dotum"
|
"Baekmuk Dotum"
|
||||||
"Noto Color Emoji"
|
"Noto Color Emoji"
|
||||||
];
|
];
|
||||||
emoji = [ "Noto Color Emoji" (mkIf cfg.joyPixels "JoyPixels") ];
|
emoji = [
|
||||||
|
"Noto Color Emoji"
|
||||||
|
(mkIf cfg.joyPixels "JoyPixels")
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
localConf = ''
|
localConf = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue