From cd63d01702e5e2402dd88a8e98d07ba2b5fee4e2 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Tue, 31 May 2022 08:47:21 +0200 Subject: [PATCH] Configure keepassxc for browser extension support Add manually installed extensions as comments. I could install them from user repositories, but I keep this for now. --- home/programs/firefox.nix | 4 ++++ home/xdg.nix | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/home/programs/firefox.nix b/home/programs/firefox.nix index 8b181bb..5186ffd 100644 --- a/home/programs/firefox.nix +++ b/home/programs/firefox.nix @@ -8,6 +8,10 @@ profiles = { default = { + # Extensions: + # * https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/ + # * https://addons.mozilla.org/en-US/firefox/addon/languagetool/ + # * https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/ name = "default"; id = 0; isDefault = true; diff --git a/home/xdg.nix b/home/xdg.nix index 815b3a6..f0c9705 100644 --- a/home/xdg.nix +++ b/home/xdg.nix @@ -10,16 +10,24 @@ "borg/exclude".source = ./files/borg-exclude; "ctags/config.ctags".source = ./files/ctags; "keepassxc/keepassxc.ini".text = pkgs.lib.generators.toINI { } { + General = { ConfigVersion = 2; }; + GUI = { ApplicationTheme = "dark"; CompactMode = true; + HidePreviewPanel = false; HideToolbar = true; HideUsernames = false; + + MinimizeToTray = true; + ShowTrayIcon = true; + TrayIconAppearance = "monochrome-dark"; }; + PasswordGenerator = { AdditionalChars = ""; AdvancedMode = true; @@ -31,6 +39,20 @@ Quotes = true; SpecialChars = false; }; + + Browser = { + CustomProxyLocation = ""; + Enabled = true; + SearchInAllDatabases = true; + }; + + Security = { + ClearSearchTimeout = 1; + LockDatabaseIdle = true; + LockDatabaseIdleSeconds = 60; + Security_HideNotes = true; + }; + }; "litecli/config".source = ./files/litecli; "phpactor".source = ./files/phpactor;