nixos/getty: do not conditionalize on console. (#480686)

This commit is contained in:
Arian van Putten
2026-06-22 11:31:00 +00:00
committed by GitHub
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ in
###### implementation
config = mkIf config.console.enable {
config = {
# Note: this is set here rather than up there so that changing
# nixos.label would not rebuild manual pages
services.getty.greetingLine = mkDefault ''<<< Welcome to ${config.system.nixos.distroName} ${config.system.nixos.label} (\m) - \l >>>'';
@@ -107,9 +107,6 @@ in
}
];
# TODO(arianvp): Remove after https://github.com/NixOS/nixpkgs/pull/480686 is merged
console.enable = true;
virtualisation.systemd-nspawn.options = [
"--private-network"
"--machine=${config.system.name}"