nixos/getty: only include if config.console.enable == true (#363533)

This commit is contained in:
Michele Guerini Rocco 2025-02-18 11:44:42 +01:00 committed by GitHub
commit d05074f981
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 20 deletions

View file

@ -60,15 +60,6 @@ let
# hwdb.bin is managed by NixOS
# "systemd-hwdb-update.service"
# Consoles.
"getty.target"
"getty-pre.target"
"getty@.service"
"serial-getty@.service"
"console-getty.service"
"container-getty@.service"
"systemd-vconsole-setup.service"
# Hardware (started by udev when a relevant device is plugged in).
"sound.target"
"bluetooth.target"