mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-07 22:33:53 +00:00
29 lines
410 B
Nix
29 lines
410 B
Nix
{
|
|
x,
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
with x;
|
|
let
|
|
cfg = config.module.misc.console;
|
|
in
|
|
{
|
|
options = {
|
|
module.misc.console = {
|
|
enable = mkBool;
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
console = True // {
|
|
earlySetup = true;
|
|
font = with pkgs; "${terminus_font}/share/consolefonts/ter-v16n.psf.gz";
|
|
packages = [ terminus_font ];
|
|
keyMap = "us";
|
|
};
|
|
};
|
|
}
|