nixos/getty: revert overzealous assertion (#502957)

This commit is contained in:
Ramses
2026-03-24 09:27:47 +00:00
committed by GitHub
-6
View File
@@ -132,12 +132,6 @@ in
###### implementation
config = mkIf config.console.enable {
assertions = [
{
assertion = cfg.loginOptions != null -> cfg.autologinUser == null;
message = "services.getty.autoLoginUser has no effect when services.getty.loginOptions is set.";
}
];
# 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 >>>'';