Enable keepassxc by default
This commit is contained in:
parent
bf736f6af0
commit
b63dafb8a6
1 changed files with 3 additions and 2 deletions
|
|
@ -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 =
|
||||||
''
|
''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue