Enable keepassxc by default

This commit is contained in:
DashieTM 2024-08-06 12:53:52 +02:00
parent bf736f6af0
commit b63dafb8a6

View file

@ -1,8 +1,8 @@
{ lib, config, options, pkgs, ... }: { { lib, config, options, pkgs, ... }: {
options.mods.keepassxc = { options.mods.keepassxc = {
enable = lib.mkOption { enable = lib.mkOption {
default = false; default = true;
example = true; example = false;
type = lib.types.bool; type = lib.types.bool;
description = "Enables the piper program and its daemon"; description = "Enables the piper program and its daemon";
}; };
@ -27,6 +27,7 @@
}; };
config = lib.mkIf config.mods.keepassxc.enable config = lib.mkIf config.mods.keepassxc.enable
(lib.optionalAttrs (options?home.file) { (lib.optionalAttrs (options?home.file) {
home.packages = [ pkgs.keepassxc ];
xdg.configFile."keepassxc/keepassxc.ini" = { xdg.configFile."keepassxc/keepassxc.ini" = {
text = text =
'' ''