1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 08:31:03 +01:00
home-manager/tests/modules/programs/keepassxc/example-settings.nix
2025-04-18 11:35:36 -07:00

24 lines
479 B
Nix

{ ... }:
{
programs.keepassxc = {
enable = true;
settings = {
Browser.Enabled = true;
GUI = {
AdvancedSettings = true;
ApplicationTheme = "dark";
CompactMode = true;
HidePasswords = true;
};
SSHAgent.Enabled = true;
};
};
test.stubs.keepassxc = { };
nmt.script = ''
configFile=home-files/.config/keepassxc/keepassxc.ini
assertFileContent $configFile ${./keepassxc-example-config.ini}
'';
}