2021-07-01 01:02:55 +01:00
|
|
|
|
# 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, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2021-11-25 11:42:32 +00:00
|
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2021-07-01 01:02:55 +01:00
|
|
|
|
|
2021-11-25 11:42:32 +00:00
|
|
|
|
boot.initrd.availableKernelModules =
|
|
|
|
|
[ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
2021-07-01 01:02:55 +01:00
|
|
|
|
|
2021-11-25 11:42:32 +00:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "zpool/nixos/root";
|
2021-07-03 23:43:52 +01:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2021-07-01 01:02:55 +01:00
|
|
|
|
|
2021-11-25 11:42:32 +00:00
|
|
|
|
fileSystems."/home" = {
|
|
|
|
|
device = "zpool/data/home";
|
2021-07-03 23:43:52 +01:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2021-07-01 01:02:55 +01:00
|
|
|
|
|
2021-11-25 11:42:32 +00:00
|
|
|
|
fileSystems."/media" = {
|
|
|
|
|
device = "datapool/media";
|
2021-07-03 23:43:52 +01:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2021-11-25 11:42:32 +00:00
|
|
|
|
|
|
|
|
|
fileSystems."/secrets" = {
|
|
|
|
|
device = "backedpool/secrets";
|
2021-07-13 09:53:22 +01:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2021-07-03 23:43:52 +01:00
|
|
|
|
|
2021-11-25 11:42:32 +00:00
|
|
|
|
fileSystems."/var/lib" = {
|
|
|
|
|
device = "backedpool/services";
|
2021-07-03 23:43:52 +01:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2021-11-25 11:42:32 +00:00
|
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/AF19-5616";
|
2021-07-03 23:43:52 +01:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2021-07-01 01:02:55 +01:00
|
|
|
|
|
2021-11-25 11:42:32 +00:00
|
|
|
|
swapDevices = [{
|
2021-12-01 14:47:50 +00:00
|
|
|
|
device = "/dev/sdc1";
|
2022-02-15 10:58:08 +00:00
|
|
|
|
size = 10000;
|
2021-11-25 11:42:32 +00:00
|
|
|
|
}];
|
2021-07-01 01:02:55 +01:00
|
|
|
|
|
|
|
|
|
}
|