1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-06 12:53:52 +00:00
ultima/modules/nixos/misc/console/default.nix
2024-11-21 18:24:15 +09:00

20 lines
407 B
Nix

{ pkgs, lib, config, True, ... }:
with lib;
let cfg = config.module.misc.console;
in {
options = { module.misc.console = { enable = mkEnableOption ""; }; };
config = mkIf cfg.enable {
console = with pkgs;
True // {
earlySetup = true;
font = "${terminus_font}/share/consolefonts/ter-v16n.psf.gz";
packages = [ terminus_font ];
keyMap = "us";
};
};
}