1
1
Fork 0

1password: initial program

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-09-24 23:29:25 -05:00
parent 61e2155758
commit 4715bff0cc
Signed by: myned
GPG key ID: C7224454F7881A34
4 changed files with 32 additions and 0 deletions

View file

@ -223,6 +223,10 @@ in {
(class "Tap Wizard 2.x86_64" ["workspace 0"])
#!! Expressions are not wrapped in ^$
(fields {
class = "^1Password$";
title = "^1Password$";
} ["center"])
(fields {
class = "^com\\.github\\.wwmm\\.easyeffects$";
title = "^Easy Effects$"; # Main window

View file

@ -0,0 +1,26 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.custom.programs."1password";
in {
options.custom.programs."1password".enable = mkOption {default = false;};
config = mkIf cfg.enable {
programs = {
# https://developer.1password.com/
_1password.enable = true; # CLI
#!! Non-free license
# https://1password.com/
_1password-gui = {
enable = true;
package = pkgs._1password-gui-beta;
polkitPolicyOwners = [config.custom.username]; # Desktop integration
};
};
};
}

View file

@ -37,6 +37,7 @@ with lib; {
})
(mkIf config.custom.full {
"1password".enable = true;
adb.enable = true;
ags.enable = true;
#// anyrun.enable = true;

View file

@ -124,6 +124,7 @@ in {
})
(mkIf config.custom.full {
"{d634138d-c276-4fc8-924b-40a0ea21d284}" = extension "1password-x-password-manager"; # 1Password: Password Manager
#// "firefox@betterttv.net" = extension "betterttv"; # BetterTTV
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = extension "bitwarden-password-manager"; # Bitwarden
#// "FirefoxColor@mozilla.com" = extension "firefox-color"; # Firefox Color