53 lines
1.2 KiB
Nix
53 lines
1.2 KiB
Nix
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
{
|
|
imports =
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "mpt3sas" "usbhid" "usb_storage" "sd_mod" ];
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
fileSystems."/" = {
|
|
device = "zroot/root";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
fileSystems."/boot-1" = {
|
|
device = "/dev/disk/by-uuid/6CA4-1FB2";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
fileSystems."/boot-2" = {
|
|
device = "/dev/disk/by-uuid/6CA5-F5A2";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
fileSystems."/mnt/zvault/desktop" = {
|
|
device = "zvault/desktop";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
fileSystems."/mnt/zbigdata/media" = {
|
|
device = "zbigdata/media";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
fileSystems."/mnt/zbigdata/games" = {
|
|
device = "zbigdata/games";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
fileSystems."/var/lib/attic/storage" = {
|
|
device = "zbigdata/attic";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
swapDevices = [ ];
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
}
|