-
Notifications
You must be signed in to change notification settings - Fork 211
Optional package #471
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
base: main
Are you sure you want to change the base?
Optional package #471
Conversation
If you're new to commit signing, there are different ways to set it up: Sign commits with
|
1Password CLI requires setting the group to onepassword-cli. This isn't possible when home-manager is installed in standalone mode (e.g. Ubuntu or other distributions). Opting out of installing the 1Password CLI with nix allows using the system-wide installation (e.g. via apt).
129a918
to
85dafae
Compare
I would love to see this merged. Mostly because of standalone home-manager. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not breaking, the current behavior remains as is.
Excellent! Definitely appreciate you thinking about this. 💙
This all looks sensible to me. @hculea or @mrjones2014 could you give this a look for a second pair of eyes?
How does this compare to alternative implementation in #503 ? |
#503 is technically solving a different issue. The upstream However, this PR also changes the default package from Basically, this PR supersedes #503 (in a slightly more Nix-convetional way as well) and also fixes an additional problem with the home-manager integration. So we can merge this PR and close #503. |
The changes look good to me but it looks like we need another approval from someone with write access. @hculea ? |
Overview
1Password CLI requires setting the group of the executable to
onepassword-cli
. This isn't possible when home-manager is installed in standalone mode (e.g. Ubuntu or other distributions). Opting out of installing the 1Password CLIwith nix allows using the system-wide installation (e.g. via apt).
This change also allows changing the package. It's beneficial when nixpkgs-unstable is mapped to
pkgs.unstable
via an overlay.This is not breaking, the current behavior remains as is.
Type of change
Improved experience for nix users.
How To Test
Opting out of installing the package:
Changing the package:
Changelog
Allow nix users to change the
_1password
package like in home-manager modules or allow opting out from installing the package by setting it tonull
.