mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
Enable Serial over Lan on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
d27a09b0ab
commit
369b6ddadf
|
@ -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
|
||||||
|
|
13
nixos/systems/blowhole/sol.nix
Normal file
13
nixos/systems/blowhole/sol.nix
Normal 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
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue