software/console: move console setup to module

This commit is contained in:
Infinidoge 2021-12-03 22:55:24 -05:00
parent 450e497cb4
commit f02c9f0e1b
2 changed files with 38 additions and 16 deletions

View file

@ -1,16 +0,0 @@
{ pkgs, ... }: {
console = {
font = "Lat2-Terminus16";
earlySetup = true;
packages = with pkgs; [ (nerdfonts.override { fonts = [ "DejaVuSansMono" ]; }) ];
};
services.kmscon = {
enable = true;
hwRender = true;
extraConfig = ''
font-size=14
font-name=DejaVuSansMono
'';
};
}