getting kaladin ready

This commit is contained in:
Chris Cochrun 2022-05-06 15:35:33 -05:00 committed by Chris Cochrun
parent 099e11b74e
commit 8b9ee87a83
3 changed files with 48 additions and 26 deletions

View file

@ -0,0 +1,37 @@
# 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" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/nvme0n1p2";
fsType = "btrfs";
options = [ "subvol=root" "noatime" "ssd" "space_cache" "compress=zstd" ];
};
fileSystems."/home" =
{ device = "/dev/nvme0n1p2";
fsType = "btrfs";
options = [ "subvol=home" "noatime" "ssd" "space_cache" "compress=zstd" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/F9BD-D185";
fsType = "vfat";
};
swapDevices = [ ];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}