Change:
To work, use secret-service freedesktop.org API (e.g. Gnome keyring) or pass. ''; mainProgram = "protonmail-bridge"; <ins> maintainers = with lib.maintainers; [ mrfreezeex daniel-fahey ]; </ins> }; }

Discussion:
When I try to run , I get console error output similar to what is described in , i.e. a cli help message and then some error messages, at which point the program quits: Steps to reproduce the behavior: I was expecting the behavior I see when I use a non-nixpkgs version of the protonmail-bridge application, namely that a GUI window pop ups inviting me to log in with my protonmail account. Please run and paste the result.
Hi yes unfortunately there is no support for the gui in nixpkgs atm
Hm, this is surprising - is there any reason it's difficult to provide GUI support in nixpkgs? Is this a deliberate decision?
Well the main reason for me is that I don't use the gui. But there's two different programs to launch the GUI with two different build system as well...
Problem is the GUI is needed to show the password to enter into e.g. Thunderbird to set up proton mail via the bridge.... so this seems to prevent use of proton mail in nixos . I set this up in Ubuntu no probs.
You can do that with the info command in the cli
Thanks. Sorry to be so dim, nix newbie.... but I do not have any such command available with what I have in my config file and the command line output nor in -cli "mode".

1) my config file bit about proton bridge: # 28-10-2023 suggested by @ responding to issue with proton bridge # = true; # 28-10-23 from = true; = { description = "Protonmail Bridge"; enable = true; script = "${pkgs.protonmail-bridge}/bin/protonmail-bridge --noninteractive --log-level info"; path = [ ]; # HACK: wantedBy = [ "graphical-" ]; partOf = [ "graphical-" ]; }; 2) my command line gives me this: [--- protonmail-bridge -i Incorrect Usage: flag provided but not defined: -i NAME: ProtonMailBridge - Proton Mail IMAP and SMTP Bridge USAGE: ProtonMailBridge [global options] command [command options] [arguments...] COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --cpu-prof, -p Generate CPU profile (default: false) --mem-prof, -m Generate memory profile (default: false) --log-level value, -l value Set the log level (one of panic, fatal, error, warn, info, debug) --grpc, -g Start the gRPC service (default: false) --cli, -c Start the command line interface (default: false) --noninteractive, -n Start the app in non-interactive mode (default: false) --log-imap value Enable logging of IMAP communications (allserver) (may contain decrypted data!) --log-smtp Enable logging of SMTP communications (may contain decrypted data!) (default: false) --help, -h show help FATA[0000] flag provided but not defined: -i [---- protonmail-bridge info INFO[0000] Migrating keychain helper WARN[Oct 29 09:43:30.167] Failed to create lock file; another instance is running [----- protonmail-bridge -c INFO[0000] Migrating keychain helper WARN[Oct 29 09:44:05.339] Failed to create lock file; another instance is running
I pasted from config into this github field and the formatting went crazy... of course markup ... sorry... new to this.. but fat stuff in after the hash..... i.e.

comments.. sorry
When you launch in mode you need to and then get the info you need for thunderbird with . If you don't see the CLI (it prints a little bridge in ASCI and wait for input) that's probably because of that try to kill the running bridge or remove manually the lockfile (I don't know where it is though).