# 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") ];

  boot.initrd.availableKernelModules =
    [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
  boot.initrd.kernelModules = [ ];
  boot.kernelModules = [ "kvm-amd" ];
  boot.extraModulePackages = [ ];

  fileSystems."/" = {
    device = "zpool/nixos/root";
    fsType = "zfs";
  };

  fileSystems."/home" = {
    device = "zpool/data/home";
    fsType = "zfs";
  };

  fileSystems."/media" = {
    device = "datapool/media";
    fsType = "zfs";
  };

  fileSystems."/secrets" = {
    device = "backedpool/secrets";
    fsType = "zfs";
  };

  fileSystems."/var/lib" = {
    device = "backedpool/services";
    fsType = "zfs";
  };

  fileSystems."/boot" = {
    device = "/dev/disk/by-uuid/AF19-5616";
    fsType = "vfat";
  };

#  swapDevices = [{
#    device = "/dev/sdc1";
#    size = 10000;
#  }];

}