nix-config/hosts/storage-ng/hardware-configuration.nix

28 lines
688 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, ... }:
{
2021-02-22 11:45:12 +01:00
imports = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ];
2021-02-22 11:45:12 +01:00
boot.initrd.availableKernelModules =
[ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
2021-02-22 11:45:12 +01:00
fileSystems."/" = {
device = "/dev/vda1";
fsType = "ext4";
};
2021-02-22 11:45:12 +01:00
fileSystems."/boot" = {
device = "/dev/vda3";
fsType = "vfat";
};
2021-02-22 11:45:12 +01:00
swapDevices = [{ device = "/dev/vda2"; }];
nix.maxJobs = lib.mkDefault 4;
}