fix: declare KeePassXC browser integration

This commit is contained in:
2025-12-01 19:19:35 +01:00
parent 8c3e762a46
commit 8ae482d846
3 changed files with 11 additions and 4 deletions

View File

@@ -17,6 +17,7 @@ in
inherit config;
inherit pkgs;
})
(import ../../modules/keepassxc.nix { inherit pkgs; })
];
home.stateVersion = "25.05";
@@ -54,7 +55,6 @@ in
enableBashIntegration = true;
};
home-manager.enable = true;
keepassxc = import ../../modules/keepassxc.nix;
};
home.packages = import ./packages.nix {

View File

@@ -13,6 +13,7 @@ in
../../modules/dconf.nix
../../modules/git.nix
../../modules/k9s.nix
(import ../../modules/keepassxc.nix { inherit pkgs; })
];
nixpkgs.config.allowUnfree = true;
@@ -34,7 +35,6 @@ in
inherit config;
};
gh.enable = true;
keepassxc = import ../../modules/keepassxc.nix;
kubecolor.enable = true;
};

View File

@@ -1,4 +1,11 @@
{ pkgs, ... }:
{
enable = true;
# TODO: https://mynixos.com/home-manager/option/programs.keepassxc.settings
programs.keepassxc = {
enable = true;
settings = {
Browser.Enabled = true;
};
};
# programs.firefox.nativeMessagingHosts = [ pkgs.keepassxc ]; # FIXME: Resolve 'Access error for config file /home/h/.config/keepassxc/keepassxc.ini' error
}