Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nix #138

Open
peterc-s opened this issue Mar 12, 2024 · 8 comments
Open

Nix #138

peterc-s opened this issue Mar 12, 2024 · 8 comments
Labels
bug Something isn't working needs testing question Further information is requested

Comments

@peterc-s
Copy link

Is there a plan to have an official nixpkg? New to nix and liked using goldwarden before so would be nice. Flatpak seems a bit broken on nix as I can't seem to login and when I did login I was unable to get browser biometrics working.

@quexten
Copy link
Owner

quexten commented Mar 12, 2024

NixOS/nixpkgs#278362

As far as I understand the PR added the package (at least the CLI)? I'm not super familiar with Nix,
but aside from that what's missing?

Or do you mean the UI? I believe @SuperSandro2000 was looking into packaging the UI for Nix a while ago, but this depends on #134 which I have not gotten around to looking at yet.

@quexten
Copy link
Owner

quexten commented Mar 12, 2024

I wonder what the issue with the Flatpak is on Nix. A bunch of issues regarding Flatpak isolation in different environments have already been fixed, but it seems some still remain.

@quexten quexten added bug Something isn't working question Further information is requested needs testing labels Mar 12, 2024
@peterc-s
Copy link
Author

NixOS/nixpkgs#278362

As far as I understand the PR added the package (at least the CLI)? I'm not super familiar with Nix,
but aside from that what's missing?

Or do you mean the UI? I believe @SuperSandro2000 was looking into packaging the UI for Nix a while ago, but this depends on #134 which I have not gotten around to looking at yet.

I couldn't find it on search.nixos.org so it might be a thing. UI seems a bit buggy for me, doesn't let me login and gives "bad password" and then the UI just stops updating for whatever reason.

If I knew how to build a nixpkg I would give it a shot, probably something I could do though (not with the UI though, probably just the CLI with daemon)

@SuperSandro2000
Copy link
Contributor

As far as I understand the PR added the package (at least the CLI)? I'm not super familiar with Nix,
but aside from that what's missing?

The GUI and the a module to connect all the bits and pieces. I am working on both currently.

Or do you mean the UI? I believe @SuperSandro2000 was looking into packaging the UI for Nix a while ago, but this depends on #134 which I have not gotten around to looking at yet.

My works doesn't strictly depend on that. I ended up just packing the paths but that's ugly and not that maintainable.

I wonder what the issue with the Flatpak is on Nix. A bunch of issues regarding Flatpak isolation in different environments have already been fixed, but it seems some still remain.

First of all it is unnecessarily big compared to naive libraries and lacks integration for polkit, browser extension, etc.

Also on NixOS Goldwarden cannot just write to any path it wants, even with sudo. For example the polkit file must be placed with the module system.

@peterc-s
Copy link
Author

I wonder what the issue with the Flatpak is on Nix. A bunch of issues regarding Flatpak isolation in different environments have already been fixed, but it seems some still remain.

Nix does structure a lot of things very differently to other OS' - I don't know why I was able to login once and access my vault and all that but now when I try to login it wont work. Have tried using the flatpak CLI to set the keys and tried using both standard login and API keys on the GUI and was unable to login.

@SuperSandro2000
Copy link
Contributor

The PR is at NixOS/nixpkgs#293117

@woolmonkey
Copy link

Everything works fine for me except browser biometrics.

@SuperSandro2000
Copy link
Contributor

I did not finish the work on that. I have some experience getting it to work with kdeconnect and a vim integration both with native code pieces, so I am confident I can fix it when I find the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs testing question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants