This commit is contained in:
catvayor 2024-06-30 19:49:07 +02:00
parent fc7e889948
commit 453bd605ce

View file

@ -97,6 +97,8 @@ in
targetHost = "virt.kat"; targetHost = "virt.kat";
tags = [ "kat-vms" ]; tags = [ "kat-vms" ];
}; };
services.qemuGuest.enable = true;
boot.kernelParams = [ "console=ttyS0" ];
imports = [ imports = [
./machines/kat-virt ./machines/kat-virt
@ -112,6 +114,8 @@ in
targetHost = "traque.kat"; targetHost = "traque.kat";
tags = [ "kat-vms" ]; tags = [ "kat-vms" ];
}; };
services.qemuGuest.enable = true;
boot.kernelParams = [ "console=ttyS0" ];
imports = [ imports = [
./machines/kat-traque ./machines/kat-traque
@ -127,6 +131,8 @@ in
targetHost = "mail-test.kat"; targetHost = "mail-test.kat";
tags = [ "kat-vms" ]; tags = [ "kat-vms" ];
}; };
services.qemuGuest.enable = true;
boot.kernelParams = [ "console=ttyS0" ];
imports = [ imports = [
./machines/kat-mail-test ./machines/kat-mail-test
@ -142,6 +148,8 @@ in
targetHost = "son.kat"; targetHost = "son.kat";
tags = [ "kat-vms" ]; tags = [ "kat-vms" ];
}; };
services.qemuGuest.enable = true;
boot.kernelParams = [ "console=ttyS0" ];
imports = [ imports = [
./machines/kat-son ./machines/kat-son
(users.root { ssh = true; }) (users.root { ssh = true; })
@ -153,6 +161,7 @@ in
users, users,
pkgs, pkgs,
modulesPath, modulesPath,
lib,
... ...
}: }:
{ {
@ -181,6 +190,7 @@ in
services.openssh.enable = true; services.openssh.enable = true;
services.qemuGuest.enable = true; services.qemuGuest.enable = true;
boot.kernelParams = [ "console=ttyS0" ]; boot.kernelParams = [ "console=ttyS0" ];
services.getty.autologinUser = lib.mkForce "root";
}; };
kat-kexec = kat-kexec =
@ -221,5 +231,6 @@ in
bcachefs = true; bcachefs = true;
zfs = lib.mkForce false; zfs = lib.mkForce false;
}; };
services.getty.autologinUser = lib.mkForce "root";
}; };
} }