restructure with nixos modules
This commit is contained in:
parent
159f5dfe75
commit
1f1c30f57c
19 changed files with 235 additions and 182 deletions
33
keepassxc/config.nix
Normal file
33
keepassxc/config.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
General = {
|
||||
ConfigVersion = 2;
|
||||
};
|
||||
|
||||
Browser = {
|
||||
CustomProxyLocation = "";
|
||||
Enabled = true;
|
||||
};
|
||||
|
||||
GUI = {
|
||||
MinimizeOnClose = true;
|
||||
MinimizeOnStartup = true;
|
||||
ShowExpiredEntriesOnDatabaseUnlock = false;
|
||||
ShowTrayIcon = true;
|
||||
TrayIconAppearance = "monochrome-light";
|
||||
};
|
||||
|
||||
PasswordGenerator = {
|
||||
AdditionalChars = "";
|
||||
ExcludedChars = "";
|
||||
};
|
||||
|
||||
SSHAgent = {
|
||||
Enabled = true;
|
||||
};
|
||||
|
||||
Security = {
|
||||
ClearClipboardTimeout = 30;
|
||||
ClearSearch = false;
|
||||
EnableCopyOnDoubleClick = true;
|
||||
};
|
||||
}
|
8
keepassxc/default.nix
Normal file
8
keepassxc/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, lib, ...}:
|
||||
|
||||
{
|
||||
config = {
|
||||
home.packages = [ pkgs.keepassxc ];
|
||||
xdg.configFile."keepassxc/keepassxc.ini".text = lib.generators.toINI {} (import ./config.nix);
|
||||
};
|
||||
}
|
Reference in a new issue