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

31 lines
710 B
Nix
Raw Normal View History

2019-07-02 21:11:32 +02:00
# 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, ... }:
{
imports =
[ <nixpkgs/nixos/modules/profiles/qemu-guest.nix>
];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2019-11-05 18:44:39 +01:00
{ device = "/dev/vda1";
2019-07-02 21:11:32 +02:00
fsType = "ext4";
};
fileSystems."/boot" =
2019-11-05 18:44:39 +01:00
{ device = "/dev/vda3";
2019-07-02 21:11:32 +02:00
fsType = "vfat";
};
swapDevices =
2019-11-05 18:44:39 +01:00
[ { device = "/dev/vda2"; }
2019-07-02 21:11:32 +02:00
];
nix.maxJobs = lib.mkDefault 4;
}