1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-18 05:31:30 +03:00
digga/configurations/hp500281.nix
2019-12-18 00:57:31 -07:00

49 lines
819 B
Nix

{ lib, pkgs, ... }:
let
inherit (builtins) readFile;
in
{
imports = [
../users/nrd
../profiles/graphical
../profiles/misc
../profiles/misc/plex.nix
../profiles/misc/torrent.nix
];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ehci_pci"
"ahci"
"usbhid"
"sd_mod"
];
boot.kernelModules = [ "kvm-intel" ];
environment.sessionVariables = {
LIBVA_DRIVER_NAME = "iHD";
};
hardware.cpu.intel.updateMicrocode = true;
hardware.opengl.extraPackages = with pkgs; [
vaapiIntel
vaapiVdpau
libvdpau-va-gl
intel-media-driver
];
networking.networkmanager = {
enable = true;
};
nix.maxJobs = lib.mkDefault 4;
nix.systemFeatures = [ "gccarch-haswell" ];
boot.loader.systemd-boot = {
enable = true;
editor = false;
};
}