diff options
author | Your Name <graham@grahamc.com> | 2021-08-20 12:36:54 -0400 |
---|---|---|
committer | Your Name <graham@grahamc.com> | 2021-08-20 12:42:02 -0400 |
commit | 1b791763105fb69277d1021826bf0ea3721ca9f2 (patch) | |
tree | 7e04dc6372c17f81c1dec3bf6f03e39638816f78 /nixos/modules/profiles/headless.nix | |
parent | 54aa35d40e8514ab26a1334bc71ac1bf03528e7f (diff) | |
download | nixlib-1b791763105fb69277d1021826bf0ea3721ca9f2.tar nixlib-1b791763105fb69277d1021826bf0ea3721ca9f2.tar.gz nixlib-1b791763105fb69277d1021826bf0ea3721ca9f2.tar.bz2 nixlib-1b791763105fb69277d1021826bf0ea3721ca9f2.tar.lz nixlib-1b791763105fb69277d1021826bf0ea3721ca9f2.tar.xz nixlib-1b791763105fb69277d1021826bf0ea3721ca9f2.tar.zst nixlib-1b791763105fb69277d1021826bf0ea3721ca9f2.zip |
NixOS AWS AMI: enable the serial console on ttyS0
Diffstat (limited to 'nixos/modules/profiles/headless.nix')
-rw-r--r-- | nixos/modules/profiles/headless.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/profiles/headless.nix b/nixos/modules/profiles/headless.nix index 46a9b6a7d8d5..c17cb287b72b 100644 --- a/nixos/modules/profiles/headless.nix +++ b/nixos/modules/profiles/headless.nix @@ -9,7 +9,7 @@ with lib; boot.vesa = false; # Don't start a tty on the serial consoles. - systemd.services."serial-getty@ttyS0".enable = false; + systemd.services."serial-getty@ttyS0".enable = lib.mkDefault false; systemd.services."serial-getty@hvc0".enable = false; systemd.services."getty@tty1".enable = false; systemd.services."autovt@".enable = false; |