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