diff --git a/nixos/modules/services/ttys/getty.nix b/nixos/modules/services/ttys/getty.nix index 35759716e08b..e8116920be47 100644 --- a/nixos/modules/services/ttys/getty.nix +++ b/nixos/modules/services/ttys/getty.nix @@ -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 >>>''; diff --git a/nixos/modules/virtualisation/nspawn-container/default.nix b/nixos/modules/virtualisation/nspawn-container/default.nix index e1fdab1a6f1c..9100b580768b 100644 --- a/nixos/modules/virtualisation/nspawn-container/default.nix +++ b/nixos/modules/virtualisation/nspawn-container/default.nix @@ -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}"