nixos: initial bitmap font support
This commit is contained in:
parent
3cb560dfe1
commit
3f11846977
10 changed files with 118 additions and 22 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue