From bb11479130b0988e93408aa917cfc872d427d95f Mon Sep 17 00:00:00 2001 From: Leonardo Date: Sat, 28 Feb 2026 16:27:59 +0100 Subject: nuovo layout --- components/programs/keepassxc.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 components/programs/keepassxc.nix (limited to 'components/programs/keepassxc.nix') diff --git a/components/programs/keepassxc.nix b/components/programs/keepassxc.nix new file mode 100644 index 0000000..7211364 --- /dev/null +++ b/components/programs/keepassxc.nix @@ -0,0 +1,33 @@ +{lib, config, ...}: { + options.keepassxc.enable = lib.mkEnableOption "KeepassXC's config"; + + config = lib.mkIf config.keepassxc.enable { + xdg.autostart.enable = true; + + programs.keepassxc = { + enable = true; + autostart = true; + + settings = { + Browser.Enabled=true; + FdoSecrets.Enabled = true; + + GUI = { + MinimizeOnStartup = true; + MinimizeOnClose = true; + + ApplicationTheme = "dark"; + HideUsernames = true; + TrayIconAppearance = "monochrome-light"; + }; + + PasswordGenerator = { + Length = 128; + LowerCase = true; + UpperCase = true; + SpecialChars = true; + }; + }; + }; + }; +} -- cgit v1.3