Enable Serial over Lan on blowhole

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-07-20 12:35:34 +02:00
parent d27a09b0ab
commit 369b6ddadf
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 14 additions and 0 deletions

View file

@ -44,6 +44,7 @@ in
./watchdog.nix ./watchdog.nix
./nixpkgs.nix ./nixpkgs.nix
./users.nix ./users.nix
./sol.nix
../../common/remote_access.nix ../../common/remote_access.nix
inputs.serokell-nix.nixosModules.acme-sh inputs.serokell-nix.nixosModules.acme-sh
config'.flake.nixosModules.hashicorp config'.flake.nixosModules.hashicorp

View file

@ -0,0 +1,13 @@
{ ... }:
{
boot.kernelParams = [
"console=ttyS1,115200"
"console=tty1"
];
boot.loader.grub.extraConfig = ''
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal_input console serial
terminal_output console serial
'';
}