1 2 3 4 5 6 7 8 9 10 11 12 13 14
{ config, lib, pkgs, ... }: with lib; { console = { earlySetup = true; colors = take 16 (mapAttrsToList (_: removePrefix "#") config.colourScheme); font = "${pkgs.terminus_font}/share/consolefonts/ter-v16b.psf.gz"; useXkbConfig = config.services.xserver.enable; }; }
Consider giving Nix/NixOS a try! <3