diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-01-28 14:50:36 +0100 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-01-28 14:50:36 +0100 |
| commit | fb26a8a59b840c6430c73df6c1cc44ecff156b67 (patch) | |
| tree | 0080c92ff0ece08db825000ed8cf6f83d557cc70 /hosts/omega-relay/hardware-configuration.nix | |
| parent | 19835b9be47ba9b96b1f72c93c98e3c3866a858a (diff) | |
Little fixes and update
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"; +} |
