Skyler Turner | 205aff1 | 2021-12-20 11:22:57 +0000 | [diff] [blame] | 1 | # Do not modify this file! It was generated by ‘nixos-generate-config’ |
| 2 | # and may be overwritten by future invocations. Please make changes |
| 3 | # to /etc/nixos/configuration.nix instead. |
| 4 | { config, lib, pkgs, modulesPath, ... }: |
| 5 | |
| 6 | { |
| 7 | imports = |
| 8 | [ (modulesPath + "/installer/scan/not-detected.nix") |
| 9 | ]; |
| 10 | |
| 11 | boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" ]; |
| 12 | boot.initrd.kernelModules = [ ]; |
| 13 | boot.kernelModules = [ "kvm-intel" ]; |
Skyler Turner | a4426b4 | 2022-03-01 15:20:53 +0000 | [diff] [blame] | 14 | # boot.extraModulePackages = [ config.boot.kernelPackages.exfat-nofuse ]; # Broken in nixpkgs; seems to be mountable and usable anyway |
Skyler Turner | 205aff1 | 2021-12-20 11:22:57 +0000 | [diff] [blame] | 15 | |
| 16 | fileSystems."/" = |
| 17 | { device = "/dev/disk/by-label/nixos"; |
| 18 | fsType = "ext4"; |
| 19 | }; |
| 20 | |
| 21 | fileSystems."/boot" = |
| 22 | { device = "/dev/disk/by-label/boot"; |
| 23 | fsType = "vfat"; |
| 24 | }; |
| 25 | |
| 26 | swapDevices = |
| 27 | [ { device = "/dev/disk/by-label/swap"; } |
| 28 | ]; |
| 29 | |
| 30 | powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; |
| 31 | hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; |
Skyler Turner | d5df94a | 2022-03-15 17:45:30 +0000 | [diff] [blame^] | 32 | |
| 33 | hardware.opentabletdriver.enable = true; |
Skyler Turner | 205aff1 | 2021-12-20 11:22:57 +0000 | [diff] [blame] | 34 | } |