mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:13:55 -05:00
apps.keepassxc: migrate to lib.generators.toINI
This commit is contained in:
parent
5576551fa3
commit
f30ab0611c
|
@ -5,42 +5,48 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
config = lib.mkIf config.alyraffauf.apps.keepassxc.enable {
|
config = lib.mkIf config.alyraffauf.apps.keepassxc.enable {
|
||||||
home.packages = [pkgs.keepassxc];
|
home = {
|
||||||
xdg.configFile."keepassxc/keepassxc.ini".text = ''
|
file.".cache/keepassxc/keepassxc.ini".text = lib.generators.toINI {} {
|
||||||
[General]
|
General.LastActiveDatabase = "/${config.home.homeDirectory}/sync/Passwords.kdbx";
|
||||||
ConfigVersion=2
|
};
|
||||||
HideWindowOnCopy=true
|
packages = [pkgs.keepassxc];
|
||||||
MinimizeAfterUnlock=false
|
};
|
||||||
MinimizeOnOpenUrl=true
|
|
||||||
|
|
||||||
[Browser]
|
xdg.configFile."keepassxc/keepassxc.ini".text = lib.generators.toINI {} {
|
||||||
AlwaysAllowAccess=true
|
Browser = {
|
||||||
CustomProxyLocation=
|
AlwaysAllowAccess = true;
|
||||||
Enabled=true
|
Enabled = true;
|
||||||
SearchInAllDatabases=true
|
SearchInAllDatabases = true;
|
||||||
|
};
|
||||||
|
|
||||||
[GUI]
|
General = {
|
||||||
ApplicationTheme=classic
|
ConfigVersion = 2;
|
||||||
ColorPasswords=false
|
HideWindowOnCopy = true;
|
||||||
CompactMode=true
|
MinimizeAfterUnlock = false;
|
||||||
MinimizeOnClose=true
|
MinimizeOnOpenUrl = true;
|
||||||
MinimizeOnStartup=false
|
};
|
||||||
MinimizeToTray=true
|
|
||||||
ShowTrayIcon=true
|
|
||||||
TrayIconAppearance=colorful
|
|
||||||
|
|
||||||
[PasswordGenerator]
|
GUI = {
|
||||||
AdditionalChars=
|
ApplicationTheme = "classic";
|
||||||
ExcludedChars=
|
ColorPasswords = false;
|
||||||
|
CompactMode = true;
|
||||||
|
MinimizeOnClose = true;
|
||||||
|
MinimizeOnStartup = false;
|
||||||
|
MinimizeToTray = true;
|
||||||
|
ShowTrayIcon = true;
|
||||||
|
TrayIconAppearance = "colorful";
|
||||||
|
};
|
||||||
|
|
||||||
[SSHAgent]
|
Security = {
|
||||||
Enabled=true
|
ClearClipboardTimeout = 15;
|
||||||
|
EnableCopyOnDoubleClick = true;
|
||||||
|
IconDownloadFallback = true;
|
||||||
|
LockDatabaseScreenLock = true;
|
||||||
|
};
|
||||||
|
|
||||||
[Security]
|
SSHAgent = {
|
||||||
ClearClipboardTimeout=15
|
Enabled = true;
|
||||||
EnableCopyOnDoubleClick=true
|
};
|
||||||
IconDownloadFallback=true
|
};
|
||||||
LockDatabaseScreenLock=true
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue