feat(keepassxc): add enable option
This commit is contained in:
1 parent
9402c16df0
commit
fef88cf1a4
4 files changed
+20
-4
No files matched your search
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user