1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-03 07:31:03 +01:00
home-manager/tests/modules/programs/algia/settings.nix
2025-09-30 14:41:57 -05:00

28 lines
515 B
Nix

{
lib,
pkgs,
config,
...
}:
{
programs.algia = {
enable = true;
settings = {
relays = {
"wss =//relay-jp.nostr.wirednet.jp" = {
read = true;
write = true;
search = false;
};
};
privatekey = "nsecXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
};
};
nmt.script = ''
assertFileExists home-files/.config/algia/config.json
assertFileContent home-files/.config/algia/config.json \
${./config.json}
'';
}