about summary refs log tree commit diff
path: root/modules/nixos-hardware/pcengines/apu/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos-hardware/pcengines/apu/default.nix')
-rw-r--r--modules/nixos-hardware/pcengines/apu/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/nixos-hardware/pcengines/apu/default.nix b/modules/nixos-hardware/pcengines/apu/default.nix
new file mode 100644
index 000000000000..521887fe600b
--- /dev/null
+++ b/modules/nixos-hardware/pcengines/apu/default.nix
@@ -0,0 +1,8 @@
+{
+  boot.kernelParams = [ "console=ttyS0,115200n8" ];
+  boot.loader.grub.extraConfig = "
+    serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
+    terminal_input serial
+    terminal_output serial
+  ";
+}