feat(keepassxc): add enable option

This commit is contained in:
2026-05-22 10:21:21 +02:00
parent 9402c16df0
commit fef88cf1a4
4 changed files with 20 additions and 4 deletions

View File

@@ -1,8 +1,21 @@
{
programs.keepassxc = {
enable = true;
settings = {
Browser.Enabled = true;
config,
lib,
...
}:
let
cfg = config.keepassxc;
in
{
options.keepassxc.enable = lib.mkEnableOption "KeePassXC";
config = lib.mkIf cfg.enable {
programs.keepassxc = {
enable = true;
settings = {
Browser.Enabled = true;
};
};
};
}