mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:53:55 -05:00
keepassxc: add default settings
This commit is contained in:
parent
307bc64853
commit
53336e132a
|
@ -7,6 +7,43 @@
|
|||
config = lib.mkIf config.alyraffauf.apps.keepassxc.enable {
|
||||
home.packages = [pkgs.keepassxc];
|
||||
|
||||
alyraffauf.apps.keepassxc.settings = lib.mkDefault {
|
||||
Browser = {
|
||||
AlwaysAllowAccess = true;
|
||||
Enabled = true;
|
||||
SearchInAllDatabases = true;
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile."keepassxc/keepassxc.ini".text =
|
||||
lib.generators.toINI {}
|
||||
config.alyraffauf.apps.keepassxc.settings;
|
||||
|
|
|
@ -102,45 +102,7 @@
|
|||
fastfetch.enable = true;
|
||||
firefox.enable = true;
|
||||
fzf.enable = true;
|
||||
keepassxc = {
|
||||
enable = true;
|
||||
settings = {
|
||||
Browser = {
|
||||
AlwaysAllowAccess = true;
|
||||
Enabled = true;
|
||||
SearchInAllDatabases = true;
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
keepassxc.enable = true;
|
||||
neofetch.enable = true;
|
||||
neovim.enable = true;
|
||||
tmux.enable = true;
|
||||
|
|
Loading…
Reference in a new issue