mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-03 07:31:03 +01:00
28 lines
515 B
Nix
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}
|
|
'';
|
|
}
|