mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 21:51:55 -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,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
config = lib.mkIf config.ar.home.apps.keepassxc.enable {
|
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
|
xdg.configFile."keepassxc/keepassxc.ini".text = let
|
||||||
defaults = {
|
defaults = {
|
||||||
|
|
|
@ -42,6 +42,7 @@ in {
|
||||||
|
|
||||||
keepassxc = {
|
keepassxc = {
|
||||||
enable = lib.mkEnableOption "KeePassXC password manager.";
|
enable = lib.mkEnableOption "KeePassXC password manager.";
|
||||||
|
package = lib.mkPackageOption pkgs "keepassxc" {};
|
||||||
|
|
||||||
settings = lib.mkOption {
|
settings = lib.mkOption {
|
||||||
description = "KeePassXC settings.";
|
description = "KeePassXC settings.";
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: 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 {
|
in {
|
||||||
programs.waybar.settings.mainBar."bluetooth" = {
|
programs.waybar.settings.mainBar."bluetooth" = {
|
||||||
"on-click" = lib.mkForce "${lib.getExe pkgs.rofi-bluetooth} -i";
|
"on-click" = lib.mkForce "${lib.getExe pkgs.rofi-bluetooth} -i";
|
||||||
|
|
Loading…
Reference in a new issue