nix-stuff/roles/desktop/programs/keepassxc.nix

36 lines
1.1 KiB
Nix

{pkgs, ...}: {
home-manager = {
users.toast = {
programs.keepassxc = {
enable = true;
settings = {
General = {
# Not sure what changing this does, I'll leave it alone
ConfigVersion = 2;
MinimizeAfterUnlock = true;
AutoSaveAfterEveryChange = false;
};
GUI = {
ApplicationTheme = "classic";
MinimizeOnStartup = false;
MinimizeOnClose = true;
MinimizeToTray = true;
ShowTrayIcon = true;
# 0 is icons, 1 is text, 2 is text next to icons, 3 is text under icons, and 4 is follow style
ToolButtonStyle = 0; # Would choose 4 but it's too big for a small window
# monochrome-light, monochrome-dark or colorful
TrayIconAppearance = "monochrome-light";
};
Security = {
HideNotes = true;
IconDownloadFallback = true;
};
SSHAgent.Enabled = true;
};
};
xdg.autostart.entries = [
"${pkgs.keepassxc}/share/applications/org.keepassxc.KeePassXC.desktop"
];
};
};
}