1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-19 06:01:38 +03:00
digga/configurations/hp500281.nix

47 lines
760 B
Nix
Raw Normal View History

2019-12-18 04:53:29 +03:00
{ lib, pkgs, ... }:
let
inherit (builtins) readFile;
in
{
2019-12-15 07:37:46 +03:00
imports = [
2019-12-15 10:06:28 +03:00
../users/nrd.nix
2019-12-16 10:54:46 +03:00
../profiles/graphical
2019-12-17 07:15:48 +03:00
../profiles/misc
2019-12-15 07:37:46 +03:00
];
2019-12-17 07:15:48 +03:00
boot.initrd.availableKernelModules = [
"xhci_pci"
"ehci_pci"
"ahci"
"usbhid"
"sd_mod"
];
boot.kernelModules = [ "kvm-intel" ];
2019-12-18 04:53:29 +03:00
environment.sessionVariables = {
LIBVA_DRIVER_NAME = "iHD";
};
hardware.cpu.intel.updateMicrocode = true;
hardware.opengl.extraPackages = with pkgs; [
vaapiIntel
vaapiVdpau
libvdpau-va-gl
intel-media-driver
];
2019-12-17 07:15:48 +03:00
networking.networkmanager = {
enable = true;
};
nix.maxJobs = lib.mkDefault 4;
2019-12-18 03:49:26 +03:00
nix.systemFeatures = [ "gccarch-haswell" ];
boot.loader.systemd-boot = {
enable = true;
editor = false;
};
}