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;
|
inherit (lib.${namespace}) mkBoolOpt;
|
||||||
|
|
||||||
cfg = config.${namespace}.apps._1password;
|
cfg = config.${namespace}.apps._1password;
|
||||||
|
username = config.${namespace}.user.name;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
options.${namespace}.apps._1password = {
|
options.${namespace}.apps._1password = {
|
||||||
enable = mkBoolOpt true "Enable 1Password";
|
enable = mkBoolOpt true "Enable 1Password";
|
||||||
};
|
};
|
||||||
|
@ -22,14 +24,14 @@ in
|
||||||
_1password.enable = true;
|
_1password.enable = true;
|
||||||
_1password-gui = {
|
_1password-gui = {
|
||||||
enable = true;
|
enable = true;
|
||||||
polkitPolicyOwners = [ config.${namespace}.user.name ];
|
polkitPolicyOwners = [ username ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
${namespace}.home.file.".ssh/config".text = ''
|
${namespace}.home.file.".ssh/config".text = ''
|
||||||
Host *
|
Host *
|
||||||
ForwardAgent yes
|
ForwardAgent yes
|
||||||
IdentityAgent ~/.1password/agent.sock
|
IdentityAgent /home/${username}/.1password/agent.sock
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ let
|
||||||
else
|
else
|
||||||
# always open on w/space 4
|
# always open on w/space 4
|
||||||
hyprctl dispatch workspace 9
|
hyprctl dispatch workspace 9
|
||||||
1password&
|
ELECTRON_OZONE_PLATFORM_HINT=x11 1password&
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ in
|
||||||
|
|
||||||
"[workspace 2 silent] steam --disable-gpu-compositing" # nvidia pls let me have nice things
|
"[workspace 2 silent] steam --disable-gpu-compositing" # nvidia pls let me have nice things
|
||||||
"[workspace 8 silent] vesktop"
|
"[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"
|
"[workspace 1 silent] zen-beta"
|
||||||
|
|
||||||
"${pkgs.xorg.xhost}/bin/xhost +"
|
"${pkgs.xorg.xhost}/bin/xhost +"
|
||||||
|
|
|
@ -64,7 +64,6 @@ in
|
||||||
".gnupg/gpg.conf".source = gpgConf;
|
".gnupg/gpg.conf".source = gpgConf;
|
||||||
".gnupg/gpg-agent.conf".text = gpgAgentConf;
|
".gnupg/gpg-agent.conf".text = gpgAgentConf;
|
||||||
".gnupg/scdeamon.conf".text = "disable-ccid";
|
".gnupg/scdeamon.conf".text = "disable-ccid";
|
||||||
# YUBIKEYCERTIFYPASSWORD
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue