1password: prompts suddenly stopped working so temporary fix is to force them to use x11

This commit is contained in:
Christoph Hollizeck 2025-04-14 22:58:56 +02:00
parent 9fe06eaae1
commit a88a349b56
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 249300664F2AF2C7
3 changed files with 6 additions and 5 deletions

View file

@ -11,8 +11,10 @@ let
inherit (lib.${namespace}) mkBoolOpt;
cfg = config.${namespace}.apps._1password;
username = config.${namespace}.user.name;
in
{
options.${namespace}.apps._1password = {
enable = mkBoolOpt true "Enable 1Password";
};
@ -22,14 +24,14 @@ in
_1password.enable = true;
_1password-gui = {
enable = true;
polkitPolicyOwners = [ config.${namespace}.user.name ];
polkitPolicyOwners = [ username ];
};
};
${namespace}.home.file.".ssh/config".text = ''
Host *
ForwardAgent yes
IdentityAgent ~/.1password/agent.sock
IdentityAgent /home/${username}/.1password/agent.sock
'';
};
}