1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-12 12:49:47 +01:00
nixos-hardware/dell/xps/13-9360/default.nix

27 lines
702 B
Nix
Raw Normal View History

2018-05-15 15:46:41 +02:00
{ lib, pkgs, ... }:
2018-05-15 18:54:18 +02:00
2018-05-15 15:46:41 +02:00
{
imports = [
2018-05-15 18:54:18 +02:00
../../../common/cpu/intel/kaby-lake
2018-05-15 15:46:41 +02:00
../../../common/pc/laptop
];
2018-05-15 18:54:18 +02:00
boot.blacklistedKernelModules = [ "psmouse" ]; # touchpad goes over i2c
2018-05-15 15:46:41 +02:00
2018-05-15 18:54:18 +02:00
# TODO: decide on boot loader policy
boot.loader = {
efi.canTouchEfiVariables = lib.mkDefault true;
systemd-boot.enable = lib.mkDefault true;
2018-05-15 15:46:41 +02:00
};
2018-05-15 18:54:18 +02:00
hardware.firmware = lib.mkBefore [ pkgs.qca6174-firmware ];
2018-05-15 15:46:41 +02:00
2018-05-15 18:54:18 +02:00
# TODO: move to general HiDPI profile
i18n.consoleFont = lib.mkDefault "latarcyrheb-sun32"; # 4K screen, use bigger console font
2018-05-15 15:46:41 +02:00
2018-05-15 18:54:18 +02:00
# TODO: upstream to NixOS/nixpkgs
nixpkgs.overlays = [(final: previous: {
qca6174-firmware = final.callPackage ./qca6174-firmware.nix {};
})];
2018-05-15 15:46:41 +02:00
}