will do some virtualisation testing

This commit is contained in:
catvayor 2024-03-20 10:07:21 +01:00
parent 38ebc1e8d0
commit 22a7840cbc
4 changed files with 14 additions and 1 deletions

View file

@ -96,6 +96,10 @@
}; };
services.netbird.enable = true; services.netbird.enable = true;
boot.kernelModules = [ "kvm-intel" "kvm-amd" ];
programs.virt-manager.enable = true;
virtualisation.libvirtd.enable = true;
# List services that you want to enable: # List services that you want to enable:
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.

View file

@ -81,6 +81,10 @@
services.openssh.enable = true; services.openssh.enable = true;
services.netbird.enable = true; services.netbird.enable = true;
boot.kernelModules = [ "kvm-intel" "kvm-amd" ];
programs.virt-manager.enable = true;
virtualisation.libvirtd.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];

View file

@ -23,6 +23,11 @@
hostname = "100.102.129.187"; hostname = "100.102.129.187";
}; };
"virt.kat" = {
user = "root";
hostname = "100.102.157.122";
};
"sas.ens" = { "sas.ens" = {
user = "lbailly"; user = "lbailly";
hostname = "sas.eleves.ens.fr"; hostname = "sas.eleves.ens.fr";

View file

@ -4,7 +4,7 @@
users.users.catvayor = { users.users.catvayor = {
shell = pkgs.zsh; shell = pkgs.zsh;
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "usb" "networkmanager" "video" "audio" ]; extraGroups = [ "wheel" "usb" "networkmanager" "video" "audio" "libvirtd" ];
packages = with pkgs; [ packages = with pkgs; [
tree tree
]; ];