homeManagerModules: add apps.keepassxc with defaults

This commit is contained in:
Aly Raffauf 2024-06-12 22:18:26 -04:00
parent 17ba962644
commit fcb09ac347
3 changed files with 48 additions and 0 deletions

View file

@ -14,6 +14,7 @@
./firefox ./firefox
./fuzzel ./fuzzel
./fzf ./fzf
./keepassxc
./librewolf ./librewolf
./mako ./mako
./neofetch ./neofetch

View file

@ -0,0 +1,46 @@
{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.alyraffauf.apps.keepassxc.enable {
home.packages = [pkgs.keepassxc];
xdg.configFile."keepassxc/keepassxc.ini".text = ''
[General]
ConfigVersion=2
HideWindowOnCopy=true
MinimizeAfterUnlock=false
MinimizeOnOpenUrl=true
[Browser]
AlwaysAllowAccess=true
CustomProxyLocation=
Enabled=true
SearchInAllDatabases=true
[GUI]
ApplicationTheme=classic
ColorPasswords=false
CompactMode=true
MinimizeOnClose=true
MinimizeOnStartup=false
MinimizeToTray=true
ShowTrayIcon=true
TrayIconAppearance=colorful
[PasswordGenerator]
AdditionalChars=
ExcludedChars=
[SSHAgent]
Enabled=true
[Security]
ClearClipboardTimeout=15
EnableCopyOnDoubleClick=true
IconDownloadFallback=true
LockDatabaseScreenLock=true
'';
};
}

View file

@ -23,6 +23,7 @@
firefox.enable = lib.mkEnableOption "Firefox web browser."; firefox.enable = lib.mkEnableOption "Firefox web browser.";
fuzzel.enable = lib.mkEnableOption "Fuzzel app launcher."; fuzzel.enable = lib.mkEnableOption "Fuzzel app launcher.";
fzf.enable = lib.mkEnableOption "Fzf fuzzy file finder."; fzf.enable = lib.mkEnableOption "Fzf fuzzy file finder.";
keepassxc.enable = lib.mkEnableOption "KeePassXC password manager.";
librewolf.enable = lib.mkEnableOption "Librewolf web browser."; librewolf.enable = lib.mkEnableOption "Librewolf web browser.";
mako.enable = lib.mkEnableOption "Mako notification daemon."; mako.enable = lib.mkEnableOption "Mako notification daemon.";
neofetch.enable = lib.mkEnableOption "Neofetch."; neofetch.enable = lib.mkEnableOption "Neofetch.";