From fb26a8a59b840c6430c73df6c1cc44ecff156b67 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Wed, 28 Jan 2026 14:50:36 +0100 Subject: Little fixes and update --- hosts/omega-relay/hardware-configuration.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hosts/omega-relay/hardware-configuration.nix (limited to 'hosts/omega-relay/hardware-configuration.nix') 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"; +} -- cgit v1.3.1