Skip to content

nixos/tuigreet: Unrecognized option config #432629

Description

@adamzwakk

Nixpkgs version

  • Unstable (25.11)

Describe the bug

When trying to boot to tuigreet through greetd, it fails to start saying it doesnt have an option called 'config'. Using the normal greetd.tuigreet on stable 25.05 doesn't have this issue.

Steps to reproduce

Here is my config for services.greetd

services.greetd = {
    enable = true;
    package = pkgs.greetd.tuigreet;
    settings = {
      default_session = {
        command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd hyprland";
        user = "greeter";
      };
    };
  };

Expected behaviour

tuigreet should start up

Screenshots

No response

Relevant log output

Aug 10 15:54:32 nixos tuigreet[1657]: Unrecognized option: 'config'
Aug 10 15:54:32 nixos tuigreet[1657]: Usage: tuigreet [OPTIONS]
Aug 10 15:54:32 nixos tuigreet[1657]: Options:
Aug 10 15:54:32 nixos tuigreet[1657]:     -h, --help          show this usage information
Aug 10 15:54:32 nixos tuigreet[1657]:     -v, --version       print version information
Aug 10 15:54:32 nixos tuigreet[1657]:     -d, --debug [FILE]  enable debug logging to the provided file, or to
Aug 10 15:54:32 nixos tuigreet[1657]:                         /tmp/tuigreet.log
Aug 10 15:54:32 nixos tuigreet[1657]:     -c, --cmd COMMAND   command to run
Aug 10 15:54:32 nixos tuigreet[1657]:     -s, --sessions DIRS colon-separated list of Wayland session paths
Aug 10 15:54:32 nixos tuigreet[1657]:         --session-wrapper 'CMD [ARGS]...'
Aug 10 15:54:32 nixos tuigreet[1657]:                         wrapper command to initialize the non-X11 session
Aug 10 15:54:32 nixos tuigreet[1657]:     -x, --xsessions DIRS
Aug 10 15:54:32 nixos tuigreet[1657]:                         colon-separated list of X11 session paths
Aug 10 15:54:32 nixos tuigreet[1657]:         --xsession-wrapper 'CMD [ARGS]...'
Aug 10 15:54:32 nixos tuigreet[1657]:                         wrapper command to initialize X server and launch X11
Aug 10 15:54:32 nixos tuigreet[1657]:                         sessions (default: startx /usr/bin/env)
Aug 10 15:54:32 nixos tuigreet[1657]:         --no-xsession-wrapper
Aug 10 15:54:32 nixos tuigreet[1657]:                         do not wrap commands for X11 sessions
Aug 10 15:54:32 nixos tuigreet[1657]:     -w, --width WIDTH   width of the main prompt (default: 80)
Aug 10 15:54:32 nixos tuigreet[1657]:     -i, --issue         show the host's issue file
Aug 10 15:54:32 nixos tuigreet[1657]:     -g, --greeting GREETING
Aug 10 15:54:32 nixos tuigreet[1657]:                         show custom text above login prompt
Aug 10 15:54:32 nixos tuigreet[1657]:     -t, --time          display the current date and time
Aug 10 15:54:32 nixos tuigreet[1657]:         --time-format FORMAT
Aug 10 15:54:32 nixos tuigreet[1657]:                         custom strftime format for displaying date and time
Aug 10 15:54:32 nixos tuigreet[1657]:     -r, --remember      remember last logged-in username
Aug 10 15:54:32 nixos tuigreet[1657]:         --remember-session
Aug 10 15:54:32 nixos tuigreet[1657]:                         remember last selected session
Aug 10 15:54:32 nixos tuigreet[1657]:         --remember-user-session
Aug 10 15:54:32 nixos tuigreet[1657]:                         remember last selected session for each user
Aug 10 15:54:32 nixos tuigreet[1657]:         --user-menu     allow graphical selection of users from a menu
Aug 10 15:54:32 nixos tuigreet[1657]:         --user-menu-min-uid UID
Aug 10 15:54:32 nixos tuigreet[1657]:                         minimum UID to display in the user selection menu
Aug 10 15:54:32 nixos tuigreet[1657]:         --user-menu-max-uid UID
Aug 10 15:54:32 nixos tuigreet[1657]:                         maximum UID to display in the user selection menu
Aug 10 15:54:32 nixos tuigreet[1657]:         --theme THEME   define the application theme colors
Aug 10 15:54:32 nixos tuigreet[1657]:         --asterisks     display asterisks when a secret is typed
Aug 10 15:54:32 nixos tuigreet[1657]:         --asterisks-char CHARS
Aug 10 15:54:32 nixos tuigreet[1657]:                         characters to be used to redact secrets (default: *)
Aug 10 15:54:32 nixos tuigreet[1657]:         --window-padding PADDING
Aug 10 15:54:32 nixos tuigreet[1657]:                         padding inside the terminal area (default: 0)
Aug 10 15:54:32 nixos tuigreet[1657]:         --container-padding PADDING

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.15.8-zen1, NixOS, 25.11 (Xantusia), 25.11.20250809.85dbfc7
  • multi-user?: yes
  • sandbox: relaxed
  • version: nix-env (Nix) 2.30.2
  • nixpkgs: /nix/store/c39q7pww80997lz0fyqxpvsr29q6f7ld-source

Notify maintainers

@acid-bong (sorry if it's not you, I can't find another who touched this recently)


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions