2021-07-29 20:31:52 +00:00
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
];
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "sd_mod" ];
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
fileSystems."/" =
|
|
|
|
{ device = "zroot/local/root";
|
|
|
|
fsType = "zfs";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
|
|
|
{ device = "/dev/disk/by-uuid/daf2a731-952f-45c7-9c25-49e1a2f56062";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/nix" =
|
|
|
|
{ device = "zroot/local/nix";
|
|
|
|
fsType = "zfs";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/persist" =
|
|
|
|
{ device = "zroot/safe/persist";
|
|
|
|
fsType = "zfs";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/home" =
|
|
|
|
{ device = "zroot/safe/home";
|
|
|
|
fsType = "zfs";
|
|
|
|
};
|
|
|
|
|
2021-08-07 19:19:06 +00:00
|
|
|
fileSystems."/root" =
|
|
|
|
{ device = "zroot/safe/root";
|
|
|
|
fsType = "zfs";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/var/cache/restic-backups-tardis" =
|
|
|
|
{ device = "zroot/safe/restic-cache";
|
|
|
|
fsType = "zfs";
|
|
|
|
};
|
|
|
|
|
2021-07-29 20:31:52 +00:00
|
|
|
fileSystems."/tmp" =
|
|
|
|
{ device = "zroot/local/tmp";
|
|
|
|
fsType = "zfs";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/persist/data" =
|
|
|
|
{ device = "dpool/safe/data";
|
|
|
|
fsType = "zfs";
|
|
|
|
};
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
}
|