48 lines
1.2 KiB
Nix
48 lines
1.2 KiB
Nix
# 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" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||
boot.initrd.kernelModules = [ "i915" ];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" = {
|
||
device = "rpool/local/root";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/nix" = {
|
||
device = "rpool/local/nix";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/data" = {
|
||
device = "rpool/safe/data";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/cache" = {
|
||
device = "rpool/local/cache";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-uuid/BEEE-D83A";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
|
||
swapDevices = [
|
||
{ device = "/dev/disk/by-uuid/6c09b90f-8971-4702-a18a-f06dfb3d8dcd"; }
|
||
];
|
||
|
||
nix.maxJobs = lib.mkDefault 8;
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||
hardware.cpu.intel.updateMicrocode = true;
|
||
}
|