2021-06-15 17:25:16 +02:00
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
2021-06-15 18:56:08 +02:00
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2021-06-15 17:25:16 +02:00
|
|
|
|
2021-06-15 18:56:08 +02:00
|
|
|
boot.initrd.availableKernelModules =
|
|
|
|
[ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
2021-06-15 17:25:16 +02:00
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
2021-06-15 18:56:08 +02:00
|
|
|
fileSystems."/" = {
|
|
|
|
device = "zroot/safe/root";
|
|
|
|
fsType = "zfs";
|
|
|
|
};
|
2021-06-15 17:25:16 +02:00
|
|
|
|
2021-06-15 18:56:08 +02:00
|
|
|
fileSystems."/nix" = {
|
|
|
|
device = "zroot/local/nix";
|
|
|
|
fsType = "zfs";
|
|
|
|
};
|
2021-06-15 17:25:16 +02:00
|
|
|
|
2021-06-15 18:56:08 +02:00
|
|
|
fileSystems."/var/log/journal" = {
|
|
|
|
device = "zroot/safe/journal";
|
|
|
|
fsType = "zfs";
|
|
|
|
};
|
2021-06-15 17:25:16 +02:00
|
|
|
|
2021-06-15 18:56:08 +02:00
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "/dev/disk/by-uuid/8BB2-9DCB";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
2021-06-15 17:25:16 +02:00
|
|
|
|
|
|
|
swapDevices =
|
2021-06-15 18:56:08 +02:00
|
|
|
[{ device = "/dev/disk/by-uuid/efc7e294-1c18-4dd9-aca5-f868eb9c47fc"; }];
|
2021-06-15 17:25:16 +02:00
|
|
|
|
|
|
|
}
|