mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 12:23:56 -05:00
home/keepassxc: refactored settings
This commit is contained in:
parent
29aab63327
commit
5ba420030a
|
@ -7,44 +7,45 @@
|
||||||
config = lib.mkIf config.ar.home.apps.keepassxc.enable {
|
config = lib.mkIf config.ar.home.apps.keepassxc.enable {
|
||||||
home.packages = [pkgs.keepassxc];
|
home.packages = [pkgs.keepassxc];
|
||||||
|
|
||||||
ar.home.apps.keepassxc.settings = lib.mkDefault {
|
xdg.configFile."keepassxc/keepassxc.ini".text = let
|
||||||
Browser = {
|
defaults = {
|
||||||
AlwaysAllowAccess = true;
|
Browser = {
|
||||||
Enabled = true;
|
AlwaysAllowAccess = true;
|
||||||
SearchInAllDatabases = true;
|
Enabled = true;
|
||||||
UpdateBinaryPath = false;
|
SearchInAllDatabases = true;
|
||||||
|
UpdateBinaryPath = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
General = {
|
||||||
|
ConfigVersion = 2;
|
||||||
|
HideWindowOnCopy = true;
|
||||||
|
MinimizeAfterUnlock = false;
|
||||||
|
MinimizeOnOpenUrl = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
GUI = {
|
||||||
|
ApplicationTheme = "classic";
|
||||||
|
ColorPasswords = false;
|
||||||
|
CompactMode = true;
|
||||||
|
MinimizeOnClose = true;
|
||||||
|
MinimizeOnStartup = true;
|
||||||
|
MinimizeToTray = true;
|
||||||
|
ShowTrayIcon = true;
|
||||||
|
TrayIconAppearance = "colorful";
|
||||||
|
};
|
||||||
|
|
||||||
|
Security = {
|
||||||
|
ClearClipboardTimeout = 15;
|
||||||
|
EnableCopyOnDoubleClick = true;
|
||||||
|
IconDownloadFallback = true;
|
||||||
|
LockDatabaseScreenLock = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
SSHAgent.Enabled = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
General = {
|
settings = defaults // config.ar.home.apps.keepassxc.settings;
|
||||||
ConfigVersion = 2;
|
in
|
||||||
HideWindowOnCopy = true;
|
lib.generators.toINI {} settings;
|
||||||
MinimizeAfterUnlock = false;
|
|
||||||
MinimizeOnOpenUrl = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
GUI = {
|
|
||||||
ApplicationTheme = "classic";
|
|
||||||
ColorPasswords = false;
|
|
||||||
CompactMode = true;
|
|
||||||
MinimizeOnClose = true;
|
|
||||||
MinimizeOnStartup = true;
|
|
||||||
MinimizeToTray = true;
|
|
||||||
ShowTrayIcon = true;
|
|
||||||
TrayIconAppearance = "colorful";
|
|
||||||
};
|
|
||||||
|
|
||||||
Security = {
|
|
||||||
ClearClipboardTimeout = 15;
|
|
||||||
EnableCopyOnDoubleClick = true;
|
|
||||||
IconDownloadFallback = true;
|
|
||||||
LockDatabaseScreenLock = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
SSHAgent.Enabled = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
xdg.configFile."keepassxc/keepassxc.ini".text =
|
|
||||||
lib.generators.toINI {}
|
|
||||||
config.ar.home.apps.keepassxc.settings;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue