1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00
mdlayher-homelab/nixos/servnerr-3/hardware-configuration.nix
Matt Layher 925462f4e1
nixos/servnerr-3: add /primary/vm ZFS filesystem
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-06 11:42:33 -04:00

58 lines
1.3 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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.
{ lib, ... }:
{
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/bab1720c-5d05-4d95-8a7e-8d22ee9327f1";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/9FA3-7F58";
fsType = "vfat";
};
fileSystems."/primary" = {
device = "primary";
fsType = "zfs";
};
fileSystems."/primary/media" = {
device = "primary/media";
fsType = "zfs";
};
fileSystems."/primary/archive" = {
device = "primary/archive";
fsType = "zfs";
};
fileSystems."/primary/misc" = {
device = "primary/misc";
fsType = "zfs";
};
fileSystems."/primary/text" = {
device = "primary/text";
fsType = "zfs";
};
fileSystems."/primary/vm" = {
device = "primary/vm";
fsType = "zfs";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/51302f97-4b06-4bc1-8200-13217440af0f"; }];
nix.maxJobs = lib.mkDefault 16;
}