mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 10:13:53 +00:00
19 lines
390 B
Nix
19 lines
390 B
Nix
{ x, pkgs, lib, config, True, ... }:
|
|
|
|
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";
|
|
};
|
|
};
|
|
}
|
|
|