1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-07 22:33:53 +00:00
ultima/modules/nixos/misc/console/default.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";
};
};
}