infra/build01/hardware-configuration.nix

41 lines
898 B
Nix
Raw Normal View History

# 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, ... }:
{
2020-01-22 12:37:13 +01:00
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" ];
boot.kernelModules = [ "kvm-amd" ];
2020-01-22 12:37:13 +01:00
boot.extraModulePackages = [];
fileSystems."/" =
2020-01-22 12:37:13 +01:00
{
device = "zroot/root";
fsType = "zfs";
};
fileSystems."/nix" =
2020-01-22 12:37:13 +01:00
{
device = "zroot/root/nix";
fsType = "zfs";
};
fileSystems."/home" =
2020-01-22 12:37:13 +01:00
{
device = "zroot/root/home";
fsType = "zfs";
};
fileSystems."/boot" =
2020-01-22 12:37:13 +01:00
{
device = "/dev/disk/by-uuid/3593e0a3-3bc7-42a7-b829-685b9e98e6ba";
fsType = "ext4";
};
2020-01-22 12:37:13 +01:00
swapDevices = [];
nix.maxJobs = lib.mkDefault 16;
}