A very *special* nostr relay
Find a file
2024-01-15 16:39:55 -06:00
modules Fix nix module 2024-01-15 16:27:48 -06:00
src Make it work 2024-01-15 16:39:55 -06:00
templates Initial commit 2024-01-12 09:35:31 -06:00
www/static Initial commit 2024-01-12 09:35:31 -06:00
.env Initial commit 2024-01-12 09:35:31 -06:00
.envrc Initial commit 2024-01-12 09:35:31 -06:00
.gitignore Initial commit 2024-01-12 09:35:31 -06:00
Cargo.lock Initial commit 2024-01-12 09:35:31 -06:00
Cargo.toml Hopefully log proxied client ip address 2024-01-15 13:26:03 -06:00
flake.lock Initial commit 2024-01-12 09:35:31 -06:00
flake.nix Add new nixos module with configurable container 2024-01-14 17:30:33 -06:00
LICENSE Initial commit 2024-01-12 09:35:31 -06:00
README.md Update readme 2024-01-14 18:29:10 -06:00

Sneedstr

Build it

nix build

Run it

nix run

Steal it

nix run git+https://git.zhitno.st/Klink/sneedstr

Or use it as a nixos-container in your flake

# flake.nix
inputs = {
	# Sneedstr
    sneedstr.url = "git+https://git.zhitno.st/Klink/sneedstr";
    sneedstr.inputs.nixpkgs.follows = "nixpkgs";
};

# nixosConfiguration
imports = [
	inputs.sneedstr.nixosModules.x86_64-linux.default
];

services.sneedstr = {
    enable = true;
    host = "testvm.vm";
    sslEnable = false;
    hostAddress = "192.168.100.12";
    localAddress = "192.168.100.13";
};