manage keepassxc settings with nix

closes #8
This commit is contained in:
Pim Kunis 2023-09-30 14:33:40 +02:00
parent fa143bf006
commit 15c77485aa
2 changed files with 9 additions and 19 deletions

View file

@ -147,5 +147,5 @@ in
enable = true;
};
# xdg.configFile."keepassxc/keepassxc.ini".text = pkgs.lib.generators.toINI {} (import ./keepassxc.nix);
xdg.configFile."keepassxc/keepassxc.ini".text = lib.generators.toINI {} (import ./keepassxc.nix);
}

View file

@ -2,42 +2,32 @@
General = {
ConfigVersion = 2;
};
Browser = {
Enabled = true;
CustomProxyLocation = "";
};
FdoSecrets = {
Enabled = true;
ConfirmAccessItem = false;
ConfirmDeleteItem = false;
};
GUI = {
AdvancedSettings = true;
MinimizeOnClose = true;
MinimizeOnStartup = true;
ShowExpiredEntriesOnDatabaseUnlock = false;
ShowTrayIcon = true;
TrayIconAppearance = "colorful";
};
KeeShare = {
Active = "\"<?xml version=\\\"1.0\\\"?>\\n<KeeShare xmlns:xsd=\\\"http://www.w3.org/2001/XMLSchema\\\" xmlns:xsi=\\\"http://www.w3.org/2001/XMLSchema-instance\\\">\\n <Active/>\\n</KeeShare>\\n\"";
Foreign = "\"<?xml version=\\\"1.0\\\"?>\\n<KeeShare xmlns:xsd=\\\"http://www.w3.org/2001/XMLSchema\\\" xmlns:xsi=\\\"http://www.w3.org/2001/XMLSchema-instance\\\">\\n <Foreign/>\\n</KeeShare>\\n\"";
Own = "\"<?xml version=\\\"1.0\\\"?>\\n<KeeShare xmlns:xsd=\\\"http://www.w3.org/2001/XMLSchema\\\" xmlns:xsi=\\\"http://www.w3.org/2001/XMLSchema-instance\\\">\\n <PrivateKey/>\\n <PublicKey/>\\n</KeeShare>\\n\"";
QuietSuccess = true;
TrayIconAppearance = "monochrome-light";
};
PasswordGenerator = {
AdditionalChars = "";
AdvancedMode = false;
ExcludedChars = "";
Length = 40;
SpecialChars = false;
Type = 0;
UpperCase = true;
};
SSHAgent = {
Enabled = true;
};
Security = {
ClearClipboardTimeout = 30;
ClearSearch = false;
EnableCopyOnDoubleClick = true;
};
}