nixos: initial bitmap font support

This commit is contained in:
ooks-io 2024-12-08 23:04:16 +11:00
parent 3cb560dfe1
commit 3f11846977
10 changed files with 118 additions and 22 deletions

View file

@ -1,6 +1,6 @@
{lib, ...}: let
inherit (lib) mkOption;
inherit (lib.types) str package path int;
inherit (lib.types) str package path int bool;
mkFontOption = {
family = mkOption {
@ -11,6 +11,28 @@
type = package;
default = null;
};
size = mkOption {
type = int;
default = 18;
};
bitmap = mkOption {
type = bool;
default = false;
};
fallback = {
family = mkOption {
type = str;
default = "";
};
package = mkOption {
type = package;
default = null;
};
size = mkOption {
type = int;
default = null;
};
};
};
in {
# imports = [./palettes];