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;