From 76e4b95423cb424a89755805a7f3c9a8c8de3bab Mon Sep 17 00:00:00 2001 From: catvayor Date: Thu, 14 Nov 2024 16:13:02 +0100 Subject: [PATCH] feat(autologin): autologin root on vms --- machines/kat-betamail/default.nix | 1 + machines/kat-betamail/modo.nix | 1 - machines/kat-degette/default.nix | 1 + machines/kat-orchid/default.nix | 1 + machines/kat-son/default.nix | 1 + machines/kat-www/default.nix | 1 + 6 files changed, 5 insertions(+), 1 deletion(-) diff --git a/machines/kat-betamail/default.nix b/machines/kat-betamail/default.nix index a28c4f6..6a1694f 100644 --- a/machines/kat-betamail/default.nix +++ b/machines/kat-betamail/default.nix @@ -109,6 +109,7 @@ in services = { openssh.enable = true; qemuGuest.enable = true; + getty.autologinUser = "root"; nginx = { enable = true; virtualHosts."catvayor.sh".enableACME = true; diff --git a/machines/kat-betamail/modo.nix b/machines/kat-betamail/modo.nix index c9ac19b..c387a09 100644 --- a/machines/kat-betamail/modo.nix +++ b/machines/kat-betamail/modo.nix @@ -1,7 +1,6 @@ { config, pkgs, - mods, lib, ... }: diff --git a/machines/kat-degette/default.nix b/machines/kat-degette/default.nix index b4dc442..3587096 100644 --- a/machines/kat-degette/default.nix +++ b/machines/kat-degette/default.nix @@ -64,6 +64,7 @@ services = { openssh.enable = true; qemuGuest.enable = true; + getty.autologinUser = "root"; nginx = { enable = true; virtualHosts."degette.katvayor.net" = { diff --git a/machines/kat-orchid/default.nix b/machines/kat-orchid/default.nix index 31d04a5..4c223bd 100644 --- a/machines/kat-orchid/default.nix +++ b/machines/kat-orchid/default.nix @@ -88,6 +88,7 @@ services = { openssh.enable = true; qemuGuest.enable = true; + getty.autologinUser = "root"; nginx = { enable = true; virtualHosts = { diff --git a/machines/kat-son/default.nix b/machines/kat-son/default.nix index 9653739..ddaba31 100644 --- a/machines/kat-son/default.nix +++ b/machines/kat-son/default.nix @@ -64,6 +64,7 @@ services = { openssh.enable = true; qemuGuest.enable = true; + getty.autologinUser = "root"; nginx = { enable = true; virtualHosts = { diff --git a/machines/kat-www/default.nix b/machines/kat-www/default.nix index 833f874..0f79ce8 100644 --- a/machines/kat-www/default.nix +++ b/machines/kat-www/default.nix @@ -74,6 +74,7 @@ services = { openssh.enable = true; qemuGuest.enable = true; + getty.autologinUser = "root"; nginx = { enable = true;