mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 19:31:54 -05:00
keepassxc: add package option
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
This commit is contained in:
parent
a241d3b7f7
commit
be2cdde564
|
@ -1,11 +1,10 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
config = lib.mkIf config.ar.home.apps.keepassxc.enable {
|
||||
home.packages = [pkgs.keepassxc];
|
||||
home.packages = [config.ar.home.apps.keepassxc.package];
|
||||
|
||||
xdg.configFile."keepassxc/keepassxc.ini".text = let
|
||||
defaults = {
|
||||
|
|
|
@ -42,6 +42,7 @@ in {
|
|||
|
||||
keepassxc = {
|
||||
enable = lib.mkEnableOption "KeePassXC password manager.";
|
||||
package = lib.mkPackageOption pkgs "keepassxc" {};
|
||||
|
||||
settings = lib.mkOption {
|
||||
description = "KeePassXC settings.";
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
keepassxc = "${lib.getExe' pkgs.keepassxc "keepassxc"} --pw-stdin ${config.home.homeDirectory}/sync/Passwords.kdbx < ${config.age.secrets.keepassxc.path}";
|
||||
keepassxc = "${lib.getExe' config.ar.home.apps.keepassxc.package "keepassxc"} --pw-stdin ${config.home.homeDirectory}/sync/Passwords.kdbx < ${config.age.secrets.keepassxc.path}";
|
||||
in {
|
||||
programs.waybar.settings.mainBar."bluetooth" = {
|
||||
"on-click" = lib.mkForce "${lib.getExe pkgs.rofi-bluetooth} -i";
|
||||
|
|
Loading…
Reference in a new issue