diff --git a/nixos/systems/blowhole/default.nix b/nixos/systems/blowhole/default.nix index 023930d..f636a79 100644 --- a/nixos/systems/blowhole/default.nix +++ b/nixos/systems/blowhole/default.nix @@ -44,6 +44,7 @@ in ./watchdog.nix ./nixpkgs.nix ./users.nix + ./sol.nix ../../common/remote_access.nix inputs.serokell-nix.nixosModules.acme-sh config'.flake.nixosModules.hashicorp diff --git a/nixos/systems/blowhole/sol.nix b/nixos/systems/blowhole/sol.nix new file mode 100644 index 0000000..f350e47 --- /dev/null +++ b/nixos/systems/blowhole/sol.nix @@ -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 + ''; +}