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, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
2021-07-03 23:43:52 +01:00
|
|
|
|
];
|
2021-07-01 01:02:55 +01:00
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
2021-07-03 23:43:52 +01:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
2021-07-01 01:02:55 +01:00
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
|
|
|
|
{ device = "zpool/nixos/root";
|
2021-07-03 23:43:52 +01:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2021-07-01 01:02:55 +01: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-07-03 23:43:52 +01:00
|
|
|
|
fileSystems."/media" =
|
|
|
|
|
{ device = "datapool/media";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/docker" =
|
|
|
|
|
{ device = "backedpool/docker";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/var/lib" =
|
|
|
|
|
{ device = "backedpool/services";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-07-01 01:02:55 +01: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
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
|
|
}
|