mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-03 03:59:23 +00:00
21 lines
365 B
Nix
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}"
|
|
'';
|
|
}
|