From 5379ce6fa981ba74ea0ab8e2a0fc3866abfbea20 Mon Sep 17 00:00:00 2001 From: kalle Date: Thu, 28 Aug 2025 08:54:29 +0200 Subject: [PATCH] 2025-08-28T08:54:29+02:00 --- configuration.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 198fbf6..4bd6172 100644 --- a/configuration.nix +++ b/configuration.nix @@ -15,12 +15,19 @@ # fsType = "ext4"; # }; - boot.kernelParams = [ "console=ttyS0,115200n8" ]; - services.getty = { + boot.kernelParams = [ + "console=ttyS0,115200" + "console=tty1" + ]; + + systemd.services."serial-getty@ttyS0" = { enable = true; - tty = "ttyS0"; + wantedBy = [ "getty.target" ]; # to start at boot + serviceConfig.Restart = "always"; # restart when session is closed }; + + # network and proxy networking.hostName = "minimal"; networking.networkmanager.enable = true;