all: increase console.font on highDPI devices
This commit is contained in:
parent
e98704caa0
commit
1d87eef362
|
@ -1,4 +1,8 @@
|
||||||
{pkgs, ...}:{
|
{pkgs, config, ...}:
|
||||||
|
let
|
||||||
|
consoleFont = hiDPI : if hiDPI then "Lat2-Terminus16" else "Lat2-Terminus20";
|
||||||
|
in
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../home-manager/default.nix
|
../home-manager/default.nix
|
||||||
|
|
||||||
|
@ -44,6 +48,8 @@
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.font = consoleFont config.my.highDPI;
|
||||||
|
|
||||||
networking.extraHosts = ''
|
networking.extraHosts = ''
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue