2022-05-13 20:47:21 +00:00
|
|
|
{ pkgs, lib, ... }: {
|
2022-02-28 20:52:12 +00:00
|
|
|
home.packages = [ pkgs.keepassxc ];
|
2022-03-06 10:17:11 +00:00
|
|
|
systemd.user.services.keepassxc = {
|
|
|
|
Unit = {
|
|
|
|
Description = "keepassxc";
|
2022-05-11 18:09:27 +00:00
|
|
|
After = [ "graphical-session-pre.target" ];
|
2022-03-06 10:17:11 +00:00
|
|
|
PartOf = [ "graphical-session.target" ];
|
|
|
|
};
|
|
|
|
Install = {
|
|
|
|
WantedBy = [ "graphical-session.target" ];
|
|
|
|
};
|
|
|
|
Service = {
|
|
|
|
ExecStart = "${pkgs.keepassxc}/bin/keepassxc";
|
|
|
|
};
|
|
|
|
};
|
2022-05-13 20:47:21 +00:00
|
|
|
xdg.configFile."keepassxc/keepassxc.ini".text = ''
|
|
|
|
[General]
|
|
|
|
ConfigVersion=1
|
|
|
|
|
|
|
|
[Browser]
|
|
|
|
CustomProxyLocation=
|
|
|
|
Enabled=true
|
|
|
|
|
|
|
|
[FdoSecrets]
|
|
|
|
Enabled=true
|
|
|
|
|
|
|
|
[GUI]
|
|
|
|
AdvancedSettings=true
|
|
|
|
ApplicationTheme=dark
|
|
|
|
TrayIconAppearance=monochrome-light
|
|
|
|
|
|
|
|
[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
|
|
|
|
|
|
|
|
[PasswordGenerator]
|
|
|
|
AdditionalChars=
|
|
|
|
AdvancedMode=true
|
|
|
|
Braces=true
|
|
|
|
Dashes=true
|
|
|
|
EASCII=false
|
|
|
|
EnsureEvery=false
|
|
|
|
ExcludedChars=
|
|
|
|
Length=10
|
|
|
|
Logograms=true
|
|
|
|
Math=true
|
|
|
|
Punctuation=true
|
|
|
|
Quotes=true
|
|
|
|
SpecialChars=true
|
|
|
|
|
|
|
|
[Security]
|
|
|
|
IconDownloadFallback=true
|
|
|
|
'';
|
2022-02-28 20:52:12 +00:00
|
|
|
}
|