From 036f0e17011590218c936ee41e38d8b14cffbe68 Mon Sep 17 00:00:00 2001 From: System administrator Date: Fri, 13 Feb 2026 19:02:02 +0100 Subject: [PATCH] fix ttyUSB0 things --- hosts/skrot/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/skrot/configuration.nix b/hosts/skrot/configuration.nix index 64ad337..e2241b7 100644 --- a/hosts/skrot/configuration.nix +++ b/hosts/skrot/configuration.nix @@ -14,6 +14,8 @@ (fp /base) ]; + boot.consoleLogLevel = 0; + sops.defaultSopsFile = fp /secrets/skrot/skrot.yaml; systemd.network.networks."enp2s0" = values.defaultNetworkConfig // { @@ -51,5 +53,11 @@ }; }; + systemd.services."serial-getty@ttyUSB0" = lib.mkIf (!config.virtualisation.isVmVariant) { + enable = true; + wantedBy = [ "getty.target" ]; # to start at boot + serviceConfig.Restart = "always"; # restart when session is closed + }; + system.stateVersion = "25.11"; # Did you read the comment? Nah bro }