diff options
Diffstat (limited to 'hosts/omega-relay/hardware-configuration.nix')
| -rw-r--r-- | hosts/omega-relay/hardware-configuration.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/hosts/omega-relay/hardware-configuration.nix b/hosts/omega-relay/hardware-configuration.nix new file mode 100644 index 0000000..247b382 --- /dev/null +++ b/hosts/omega-relay/hardware-configuration.nix @@ -0,0 +1,20 @@ +# 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, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/profiles/qemu-guest.nix") + ]; + + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + hosts.omega-relay.root_device = "/dev/vda"; + hosts.omega-relay.do_disko = true; + addons.virtualisation.isTestVM = true; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; +} |
