# Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "ahci" "nvme" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ "i915" ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = with config.boot.kernelPackages; [ zenpower ]; services.fstrim.enable = true; services.xserver.videoDrivers = lib.mkDefault [ "modesetting" ]; hardware.graphics = { enable = lib.mkDefault true; enable32Bit = lib.mkDefault true; extraPackages = with pkgs; [ intel-media-driver intel-vaapi-driver vaapiIntel vaapiVdpau libvdpau-va-gl ]; extraPackages32 = with pkgs.driversi686Linux; [ intel-media-driver intel-vaapi-driver libvdpau-va-gl ]; }; environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; }; powerManagement.cpuFreqGovernor = "performance"; services.thermald.enable = true; fileSystems."/" = { device = "/dev/disk/by-uuid/548f7030-af4c-412a-b2ed-d842337aa336"; fsType = "ext4"; }; boot.initrd.luks.devices."luks-50f310ae-545b-4f09-84b6-e69b5ecacaae".device = "/dev/disk/by-uuid/50f310ae-545b-4f09-84b6-e69b5ecacaae"; fileSystems."/boot" = { device = "/dev/disk/by-uuid/F691-DA8C"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; # networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }