From 001f53d081b78c5145cd7449f08f783bb56f35e3 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Thu, 18 May 2023 11:49:34 +0200 Subject: enable serial console --- config/hardware/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config/hardware/default.nix') diff --git a/config/hardware/default.nix b/config/hardware/default.nix index 8bf1e70..5b4f50f 100644 --- a/config/hardware/default.nix +++ b/config/hardware/default.nix @@ -1,7 +1,8 @@ -{ nixos-hardware, ... }: +{ nixos-hardware, modulesPath, ... }: { imports = [ + (modulesPath + "/profiles/headless.nix") ./hardware-configuration.nix nixos-hardware.nixosModules.pcengines-apu nixos-hardware.nixosModules.common-pc-ssd @@ -25,4 +26,7 @@ # everything. This is supposed to increase performance by hitting # CPU cache more often. services.irqbalance.enable = true; + + # Re-enable the serial console, disabled by the headless profile + systemd.services."serial-getty@ttyS0".enable = true; } -- cgit v1.2.3