infra: enable experimental hypervisor on EPYC machine

This commit is contained in:
raito 2023-07-02 17:46:01 +02:00
parent e3f59ee35f
commit 444a655fec
3 changed files with 9 additions and 0 deletions

View file

@ -8,6 +8,7 @@ let
nur nur
colmena colmena
flake-registry flake-registry
nixos-hypervisor
nixos-hardware nixos-hardware
nixpkgs-unstable nixpkgs-unstable
srvos srvos
@ -43,6 +44,8 @@ let
srvos.nixosModules.mixins-trusted-nix-caches srvos.nixosModules.mixins-trusted-nix-caches
srvos.nixosModules.mixins-terminfo srvos.nixosModules.mixins-terminfo
nixos-hypervisor.nixosModules.host
# srvos.nixosModules.mixins-telegraf # srvos.nixosModules.mixins-telegraf
# srvos.nixosModules.mixins-terminfo # srvos.nixosModules.mixins-terminfo

View file

@ -3,6 +3,7 @@
../modules/ipmi-supermicro.nix ../modules/ipmi-supermicro.nix
../modules/hardware/supermicro-H12SSL-i.nix ../modules/hardware/supermicro-H12SSL-i.nix
../modules/iperf-server.nix ../modules/iperf-server.nix
../modules/hypervisor.nix
]; ];
networking.hostName = "epyc"; networking.hostName = "epyc";

5
modules/hypervisor.nix Normal file
View file

@ -0,0 +1,5 @@
{ ... }: {
virtualisation.nvisor = {
enable = true;
};
}