nixos/getty: do not conditionalize on console. (#480686)
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user