From 791bc419b6dac7c70951981ef6b34cdf85828470 Mon Sep 17 00:00:00 2001 From: adikro Date: Sat, 20 Dec 2025 03:14:45 +0100 Subject: absolutely massive rewrite, made (almost) everything modular with changes to come --- sys/core/fonts.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sys/core/fonts.nix (limited to 'sys/core/fonts.nix') diff --git a/sys/core/fonts.nix b/sys/core/fonts.nix new file mode 100644 index 0000000..5bdf751 --- /dev/null +++ b/sys/core/fonts.nix @@ -0,0 +1,24 @@ +{ config, lib, pkgs, ... }: +let + cfg = config.szpont.sys.core.fonts; +in +{ + options.szpont.sys.core.fonts = { + enable = lib.mkEnableOption "system-wide fonts and console configuration"; + }; + + config = lib.mkIf cfg.enable { + console = { + keyMap = "pl"; + earlySetup = true; + font = "ter-v32n"; + packages = with pkgs; [ terminus_font ]; + }; + + fonts.packages = with pkgs; [ + nerd-fonts.jetbrains-mono + nerd-fonts.fira-mono + nerd-fonts.fira-code + ]; + }; +} -- cgit v1.3