Unverified Commit 44cf8e66 authored by Ramses's avatar Ramses Committed by GitHub
Browse files

nixos/getty: revert overzealous assertion (#502957)

parents a315c108 a5635ffc
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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 >>>'';