blob: 7211364d199b255297317d0a96f17b3830763c64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{lib, config, ...}: {
options.keepassxc.enable = lib.mkEnableOption "KeepassXC's config";
config = lib.mkIf config.keepassxc.enable {
xdg.autostart.enable = true;
programs.keepassxc = {
enable = true;
autostart = true;
settings = {
Browser.Enabled=true;
FdoSecrets.Enabled = true;
GUI = {
MinimizeOnStartup = true;
MinimizeOnClose = true;
ApplicationTheme = "dark";
HideUsernames = true;
TrayIconAppearance = "monochrome-light";
};
PasswordGenerator = {
Length = 128;
LowerCase = true;
UpperCase = true;
SpecialChars = true;
};
};
};
};
}
|