1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 10:13:53 +00:00
ultima/modules/nixos/misc/console/default.nix
2024-12-09 10:15:55 +09:00

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";
};
};
}