1password: initial program
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
61e2155758
commit
4715bff0cc
4 changed files with 32 additions and 0 deletions
|
@ -223,6 +223,10 @@ in {
|
||||||
(class "Tap Wizard 2.x86_64" ["workspace 0"])
|
(class "Tap Wizard 2.x86_64" ["workspace 0"])
|
||||||
|
|
||||||
#!! Expressions are not wrapped in ^$
|
#!! Expressions are not wrapped in ^$
|
||||||
|
(fields {
|
||||||
|
class = "^1Password$";
|
||||||
|
title = "^1Password$";
|
||||||
|
} ["center"])
|
||||||
(fields {
|
(fields {
|
||||||
class = "^com\\.github\\.wwmm\\.easyeffects$";
|
class = "^com\\.github\\.wwmm\\.easyeffects$";
|
||||||
title = "^Easy Effects$"; # Main window
|
title = "^Easy Effects$"; # Main window
|
||||||
|
|
26
options/custom/programs/1password.nix
Normal file
26
options/custom/programs/1password.nix
Normal 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
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -37,6 +37,7 @@ with lib; {
|
||||||
})
|
})
|
||||||
|
|
||||||
(mkIf config.custom.full {
|
(mkIf config.custom.full {
|
||||||
|
"1password".enable = true;
|
||||||
adb.enable = true;
|
adb.enable = true;
|
||||||
ags.enable = true;
|
ags.enable = true;
|
||||||
#// anyrun.enable = true;
|
#// anyrun.enable = true;
|
||||||
|
|
|
@ -124,6 +124,7 @@ in {
|
||||||
})
|
})
|
||||||
|
|
||||||
(mkIf config.custom.full {
|
(mkIf config.custom.full {
|
||||||
|
"{d634138d-c276-4fc8-924b-40a0ea21d284}" = extension "1password-x-password-manager"; # 1Password: Password Manager
|
||||||
#// "firefox@betterttv.net" = extension "betterttv"; # BetterTTV
|
#// "firefox@betterttv.net" = extension "betterttv"; # BetterTTV
|
||||||
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = extension "bitwarden-password-manager"; # Bitwarden
|
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = extension "bitwarden-password-manager"; # Bitwarden
|
||||||
#// "FirefoxColor@mozilla.com" = extension "firefox-color"; # Firefox Color
|
#// "FirefoxColor@mozilla.com" = extension "firefox-color"; # Firefox Color
|
||||||
|
|
Loading…
Reference in a new issue