all: increase console.font on highDPI devices

This commit is contained in:
fleaz 2022-12-16 13:43:56 +01:00
parent e98704caa0
commit 1d87eef362

View file

@ -1,4 +1,8 @@
{pkgs, ...}:{
{pkgs, config, ...}:
let
consoleFont = hiDPI : if hiDPI then "Lat2-Terminus16" else "Lat2-Terminus20";
in
{
imports = [
../home-manager/default.nix
@ -44,6 +48,8 @@
};
console.font = consoleFont config.my.highDPI;
networking.extraHosts = ''
'';
}