1password: prompts suddenly stopped working so temporary fix is to force them to use x11
This commit is contained in:
parent
e8a08150a5
commit
5c079c7f66
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ let
|
|||
else
|
||||
# always open on w/space 4
|
||||
hyprctl dispatch workspace 9
|
||||
1password&
|
||||
ELECTRON_OZONE_PLATFORM_HINT=x11 1password&
|
||||
fi
|
||||
'';
|
||||
|
||||
|
@ -173,7 +173,7 @@ in
|
|||
|
||||
"[workspace 2 silent] steam --disable-gpu-compositing" # nvidia pls let me have nice things
|
||||
"[workspace 8 silent] vesktop"
|
||||
"[workspace 9 silent] 1password"
|
||||
"[workspace 9 silent] ELECTRON_OZONE_PLATFORM_HINT=x11 1password" # fix for promts not showing up anymore
|
||||
"[workspace 1 silent] zen-beta"
|
||||
|
||||
"${pkgs.xorg.xhost}/bin/xhost +"
|
||||
|
|
|
@ -64,7 +64,6 @@ in
|
|||
".gnupg/gpg.conf".source = gpgConf;
|
||||
".gnupg/gpg-agent.conf".text = gpgAgentConf;
|
||||
".gnupg/scdeamon.conf".text = "disable-ccid";
|
||||
# YUBIKEYCERTIFYPASSWORD
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue