os/hosts/hp500281.nix

64 lines
1.1 KiB
Nix
Raw Normal View History

2019-12-18 01:53:29 +00:00
{ lib, pkgs, ... }:
let
inherit (builtins) readFile;
in
{
2019-12-15 04:37:46 +00:00
imports = [
2019-12-26 07:17:26 +00:00
../profiles/games
2019-12-17 04:15:48 +00:00
../profiles/misc
2019-12-18 07:34:30 +00:00
../profiles/misc/plex.nix
2019-12-18 07:57:31 +00:00
../profiles/misc/torrent.nix
2019-12-26 07:17:26 +00:00
../users/nrd
2019-12-15 04:37:46 +00:00
];
fileSystems."/" = {
device = "/dev/disk/by-uuid/5c0bf17c-6df1-4618-88f8-48a4249adb30";
fsType = "xfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/B361-1241";
fsType = "vfat";
};
fileSystems."/srv" = {
device = "/dev/disk/by-uuid/2a21bc0b-f30a-4001-8976-f39adf805daa";
fsType = "xfs";
};
2019-12-17 04:15:48 +00:00
boot.initrd.availableKernelModules = [
"xhci_pci"
"ehci_pci"
"ahci"
"usbhid"
"sd_mod"
];
boot.kernelModules = [ "kvm-intel" ];
2019-12-18 01:53:29 +00: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 04:15:48 +00:00
networking.networkmanager = {
enable = true;
};
nix.maxJobs = lib.mkDefault 4;
2019-12-18 00:49:26 +00:00
nix.systemFeatures = [ "gccarch-haswell" ];
boot.loader.systemd-boot = {
enable = true;
editor = false;
};
}