mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 21:31:54 -05:00
home/keepassxc: refactored settings
This commit is contained in:
parent
29aab63327
commit
5ba420030a
|
@ -7,7 +7,8 @@
|
||||||
config = lib.mkIf config.ar.home.apps.keepassxc.enable {
|
config = lib.mkIf config.ar.home.apps.keepassxc.enable {
|
||||||
home.packages = [pkgs.keepassxc];
|
home.packages = [pkgs.keepassxc];
|
||||||
|
|
||||||
ar.home.apps.keepassxc.settings = lib.mkDefault {
|
xdg.configFile."keepassxc/keepassxc.ini".text = let
|
||||||
|
defaults = {
|
||||||
Browser = {
|
Browser = {
|
||||||
AlwaysAllowAccess = true;
|
AlwaysAllowAccess = true;
|
||||||
Enabled = true;
|
Enabled = true;
|
||||||
|
@ -43,8 +44,8 @@
|
||||||
SSHAgent.Enabled = true;
|
SSHAgent.Enabled = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile."keepassxc/keepassxc.ini".text =
|
settings = defaults // config.ar.home.apps.keepassxc.settings;
|
||||||
lib.generators.toINI {}
|
in
|
||||||
config.ar.home.apps.keepassxc.settings;
|
lib.generators.toINI {} settings;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue