mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +01:00
Merge pull request #163 from 00-matt/dell-xps-13-9360/consolefont
This commit is contained in:
commit
a36f343222
1 changed files with 9 additions and 4 deletions
|
@ -1,6 +1,14 @@
|
||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
# TODO: move to general HiDPI profile
|
||||||
|
# 4K screen, use bigger console font
|
||||||
|
# i18n.consoleFont deprecated in >=20.03, choose option based on OS version
|
||||||
|
lib.recursiveUpdate
|
||||||
|
(if lib.versionAtLeast (lib.versions.majorMinor lib.version) "20.03" then {
|
||||||
|
console.font = lib.mkDefault "latarcyrheb-sun32";
|
||||||
|
} else {
|
||||||
|
i18n.consoleFont = lib.mkDefault "latarcyrheb-sun32";
|
||||||
|
}) {
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel/kaby-lake
|
../../../common/cpu/intel/kaby-lake
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
|
@ -16,9 +24,6 @@
|
||||||
|
|
||||||
hardware.firmware = lib.mkBefore [ pkgs.qca6174-firmware ];
|
hardware.firmware = lib.mkBefore [ pkgs.qca6174-firmware ];
|
||||||
|
|
||||||
# TODO: move to general HiDPI profile
|
|
||||||
i18n.consoleFont = lib.mkDefault "latarcyrheb-sun32"; # 4K screen, use bigger console font
|
|
||||||
|
|
||||||
# TODO: upstream to NixOS/nixpkgs
|
# TODO: upstream to NixOS/nixpkgs
|
||||||
nixpkgs.overlays = [(final: previous: {
|
nixpkgs.overlays = [(final: previous: {
|
||||||
qca6174-firmware = final.callPackage ./qca6174-firmware.nix {};
|
qca6174-firmware = final.callPackage ./qca6174-firmware.nix {};
|
||||||
|
|
Loading…
Reference in a new issue