Compare commits
2 commits
61e2155758
...
fc7aecfd19
Author | SHA1 | Date | |
---|---|---|---|
fc7aecfd19 | |||
4715bff0cc |
4 changed files with 34 additions and 2 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
|
||||||
|
@ -245,7 +246,7 @@ in {
|
||||||
|
|
||||||
# https://mozilla.github.io/policy-templates/#searchengines-this-policy-is-only-available-on-the-esr
|
# https://mozilla.github.io/policy-templates/#searchengines-this-policy-is-only-available-on-the-esr
|
||||||
SearchEngines = {
|
SearchEngines = {
|
||||||
Default = "SearXNG";
|
Default = "DuckDuckGo";
|
||||||
|
|
||||||
Add = [
|
Add = [
|
||||||
{
|
{
|
||||||
|
@ -277,7 +278,7 @@ in {
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
Name = "Duck";
|
Name = "DuckDuckGo";
|
||||||
Alias = "d";
|
Alias = "d";
|
||||||
IconURL = "https://duckduckgo.com/favicon.ico";
|
IconURL = "https://duckduckgo.com/favicon.ico";
|
||||||
URLTemplate = "https://duckduckgo.com/?q={searchTerms}";
|
URLTemplate = "https://duckduckgo.com/?q={searchTerms}";
|
||||||
|
|
Loading…
Add table
Reference in a new issue