about summary refs log tree commit diff
path: root/nix/hardware-configuration.nix
blob: 4ed5ba40d8ab1b42d1cc0c30ec2b0ec1680fb611 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"
  ];
  boot.initrd.kernelModules = [ ];
  boot.kernelModules = [ "kvm-intel" ];
  boot.extraModulePackages = [ ];

  fileSystems = {
    "/" = {
      device = "/dev/disk/by-uuid/34058769-4280-4374-ad92-259554380a9e";
      fsType = "ext4";
    };

    "/boot" = {
      device = "/dev/disk/by-uuid/8EB8-6EDD";
      fsType = "vfat";
    };

    "/home" = {
      device = "/dev/disk/by-uuid/69991f9d-8fec-4b32-8e3e-83d6a2c64257";
      fsType = "ext4";
    };

    # "/data" = {
    #   device = "/dev/disk/by-uuid/02594f2b-d681-49fc-8f4a-0616d44c8987";
    #   fsType = "ext4";
    # };
  };

  # swapDevices = [
  #   { device = "/dev/disk/by-uuid/6f45a147-3b44-4eb9-8ac3-2201e80cff5e"; }
  # ];

  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}