summaryrefslogblamecommitdiff
path: root/kusanagi/nixos/hardware-configuration.nix
blob: e7fa54243d164126a2d57c303e7eb9d1f3e400b3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                                                                           
                                                                   
 

                                                 



                                                

                                                             
 



                                                                      
 



                                           
 



                                                                      
 

                                                                             


                                                              

                                                                
 
# 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" ];
  boot.initrd.kernelModules = [ "dm-snapshot" ];
  boot.kernelModules = [ "kvm-intel" ];
  boot.extraModulePackages = [ ];

  boot.initrd.luks.devices.crypted.device =
    "/dev/disk/by-uuid/e3271725-effb-4b00-a5d4-8a7a64f55420";

  fileSystems."/" = {
    device = "/dev/disk/by-uuid/2f606c6b-8009-4158-b367-2e0cf1a57ade";
    fsType = "ext4";
  };

  fileSystems."/boot" = {
    device = "/dev/disk/by-uuid/0143-7D54";
    fsType = "vfat";
  };

  fileSystems."/home" = {
    device = "/dev/disk/by-uuid/f955ce34-f25e-4abf-8732-bcf17465f78c";
    fsType = "ext4";
  };

  swapDevices =
    [{ device = "/dev/disk/by-uuid/c78cfb77-75ee-4aae-9b24-b91f8eebb7c2"; }];

  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
  hardware.cpu.intel.updateMicrocode =
    lib.mkDefault config.hardware.enableRedistributableFirmware;
}