nix-deploy/stable/config/hosts/mail/hardware-configuration.nix

42 lines
1,004 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.
2021-09-27 14:55:55 +02:00
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
(modulesPath + "/profiles/minimal.nix")
];
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_scsi" "xhci_pci" "sd_mod" "sr_mod" ];
2021-09-27 14:55:55 +02:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "rpool/safe/root";
fsType = "zfs";
};
fileSystems."/home" =
{ device = "rpool/safe/home";
fsType = "zfs";
};
fileSystems."/var" =
{ device = "rpool/safe/var";
2021-09-27 14:55:55 +02:00
fsType = "zfs";
};
fileSystems."/nix" =
{ device = "rpool/local/nix";
2021-09-27 14:55:55 +02:00
fsType = "zfs";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/9c3c66f5-bf5a-4a2a-88a2-fc2ef312d7ef"; }
2021-09-27 14:55:55 +02:00
];
2021-09-27 14:55:55 +02:00
}