# 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" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = { device = "/dev/disk/by-uuid/c888d639-8af5-44c9-8692-24756792a960"; fsType = "ext4"; }; boot.initrd.luks.devices."luks-dd4f8026-08be-4db0-abca-b92e71afd3f7".device = "/dev/disk/by-uuid/dd4f8026-08be-4db0-abca-b92e71afd3f7"; fileSystems."/boot" = { device = "/dev/disk/by-uuid/FF76-573E"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; swapDevices = [ { device = "/var/lib/swapfile"; size = 16 * 1024; # 16 GiB } ]; # 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.enp57s0u1u2.useDHCP = lib.mkDefault true; # networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; # hardware.opengl.enable = true; # hardware.graphics.enable = true; hardware.graphics = { enable = true; enable32Bit = true; extraPackages = with pkgs; [ # libva-intel-driver libva-utils intel-media-driver # Uncomment if you want to use the Intel Media Driver vaapiIntel vpl-gpu-rt libglvnd mesa ]; extraPackages32 = with pkgs.pkgsi686Linux; [ # libva-intel-driver libglvnd ]; }; hardware.bluetooth = { enable = true; powerOnBoot = true; settings = { General = { Experimental = true; FastConnectable = true; }; Policy = { AutoEnable = true; }; }; }; }