Files
home-manager/tests/modules/programs/keepassxc/default-settings.nix
Changseo Jang 1285cd3d68 keepassxc: Support macOS KeePassXC configuration
Refactor configuration for KeePassXC settings based on platform.
2026-06-14 23:23:24 -05:00

21 lines
365 B
Nix

{ pkgs, ... }:
let
configFile =
if pkgs.stdenv.hostPlatform.isDarwin then
"home-files/Library/Application Support/KeePassXC/keepassxc.ini"
else
"home-files/.config/keepassxc/keepassxc.ini";
in
{
programs.keepassxc = {
enable = true;
};
test.stubs.keepassxc = { };
nmt.script = ''
assertPathNotExists "${configFile}"
'';
}