feat(keepassxc): add enable option
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
shell.bash.aliases.lang-js = true;
|
||||
shell.bash.addBinToPath = true;
|
||||
devenv.enable = true;
|
||||
keepassxc.enable = true;
|
||||
direnv.enable = true;
|
||||
nvim.enable = true;
|
||||
pandoc.enable = true;
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
shell.bash.addBinToPath = true;
|
||||
my.yubikey.enable = true;
|
||||
devenv.enable = true;
|
||||
keepassxc.enable = true;
|
||||
direnv.enable = true;
|
||||
nvim.enable = true;
|
||||
nfc.enable = true;
|
||||
|
||||
@@ -65,6 +65,7 @@
|
||||
|
||||
browser.primary = "firefox";
|
||||
devenv.enable = true;
|
||||
keepassxc.enable = true;
|
||||
direnv.enable = true;
|
||||
nvim.enable = true;
|
||||
my.dconf.enable = true;
|
||||
|
||||
@@ -1,8 +1,21 @@
|
||||
{
|
||||
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