Commit Graph

16 Commits

Author SHA1 Message Date
Max
561d01fc22
Use ndg from nixpkgs (#130)
* remove ndg flake input

* flake.lock: Update

Flake lock file updates:

• Removed input 'ndg'
• Removed input 'ndg/nixpkgs'
2026-07-14 22:53:49 +02:00
Max
6da87d7ff6
Bump dependencies (#127)
* flake.lock: Update

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/3107b77cd68437b9a76194f0f7f9c55f2329ca5b?narHash=sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA%3D' (2026-04-01)
  → 'github:hercules-ci/flake-parts/f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb?narHash=sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4%3D' (2026-05-13)
• Updated input 'hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/af4331c44f13977b6964745454eadcfee2d244d1?narHash=sha256-OOEWyt8ma7QAysDbiP65J7li7KIdtZfnbA11gFnwyEI%3D' (2026-05-16)
  → 'github:hercules-ci/hercules-ci-effects/86c7c78a840b44b1a0a5cbc7e9baa0154c0d0f3f?narHash=sha256-vy0EiuiLRKWbXYOqdEKoy5ImlbHcdMC52x9BcC/MwQ8%3D' (2026-06-15)
• Updated input 'ndg':
    'github:feel-co/ndg/d678855cdd0385b1bd78adf3456d072642317d6a?narHash=sha256-gJcybEQZa5Jdh3MSgvGLqiqQFRTZ3IxQFvVIsJecbno%3D' (2026-04-14)
  → 'github:feel-co/ndg/38edc9a7889854aed58b674158e02f0f7731328a?narHash=sha256-be9NxraQyoB4wLjiPHxpmklfJYuB%2BQs/x69P395I1Fk%3D' (2026-06-21)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9?narHash=sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM%3D' (2026-04-14)
  → 'github:NixOS/nixpkgs/567a49d1913ce81ac6e9582e3553dd90a955875f?narHash=sha256-lrp67w8AulE9Ks53n27I45ADSzbOCn4H%2BCNW1Ck8B%2B8%3D' (2026-06-16)

* bump go deps

* netstack: update vendored tun.go

* update vendorHash

* system -> stdenv.hostPlatform.system
2026-06-23 14:14:39 +00:00
DavHau
6f3c85a1ef
feat: add mDNS peer discovery for LAN environments (#102)
Co-authored-by: Max <max@privatevoid.net>
2026-06-22 14:01:34 +00:00
Max
71eeca5801
Fix Nix eval warnings (#112)
* runCommandNoCC -> runCommand

* drop x86_64-darwin

* use upstream hercules-ci-effects

* flake.lock: Update

Flake lock file updates:

• Updated input 'hercules-ci-effects':
    'github:max-privatevoid/hercules-ci-effects/f3a32947c119cfe0f0130ad91b37028a3dae22d1?narHash=sha256-3A2B8k6YCuzt5pT/CQEltUghtE6heSlk2tMYkg/fUWI%3D' (2026-04-15)
  → 'github:hercules-ci/hercules-ci-effects/af4331c44f13977b6964745454eadcfee2d244d1?narHash=sha256-OOEWyt8ma7QAysDbiP65J7li7KIdtZfnbA11gFnwyEI%3D' (2026-05-16)
2026-05-22 22:54:48 +02:00
Max
91a2cd0bc4
Bump dependencies (#104)
* meta: apply follows to ndg

* flake.lock: Update

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569?narHash=sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98%3D' (2025-06-08)
  → 'github:hercules-ci/flake-parts/3107b77cd68437b9a76194f0f7f9c55f2329ca5b?narHash=sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA%3D' (2026-04-01)
• Updated input 'hercules-ci-effects':
    'github:max-privatevoid/hercules-ci-effects/b8127446a483cfd91495037e343b592662033188?narHash=sha256-xlxgYZ0eCnr9ikQuM5VuD8rUjLdbGzSKgF2EoRKDn/8%3D' (2025-07-01)
  → 'github:max-privatevoid/hercules-ci-effects/f3a32947c119cfe0f0130ad91b37028a3dae22d1?narHash=sha256-3A2B8k6YCuzt5pT/CQEltUghtE6heSlk2tMYkg/fUWI%3D' (2026-04-15)
• Updated input 'ndg/nixpkgs':
    'https://releases.nixos.org/nixos/unstable/nixos-26.05pre972949.6201e203d095/nixexprs.tar.xz?lastModified=1775036866&narHash=sha256-ByAX1LkhCwZ94%2BKnFAmnJSMAvui7kgCxjHgUHsWAbfI%3D&rev=6201e203d09599479a3b3450ed24fa81537ebc4e' (2026-04-01)
  → follows 'nixpkgs'
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/30e2e2857ba47844aa71991daa6ed1fc678bcbb7?narHash=sha256-krGXKxvkBhnrSC/kGBmg5MyupUUT5R6IBCLEzx9jhMM%3D' (2025-06-27)
  → 'github:NixOS/nixpkgs/4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9?narHash=sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM%3D' (2026-04-14)

* go mod tidy

* go-libp2p: 0.42.0 -> 0.48.0

* go-libp2p-kad-dht: 0.33.1 -> 0.39.0

* dev: use nixfmt

* dev: reformat

* update vendorHash
2026-04-16 22:17:31 +01:00
Max
ade67e761d
Documentation refactor (#103)
* docs: switch to ndg

* flake.lock: Update

Flake lock file updates:

• Added input 'ndg':
    'github:feel-co/ndg/d678855cdd0385b1bd78adf3456d072642317d6a?narHash=sha256-gJcybEQZa5Jdh3MSgvGLqiqQFRTZ3IxQFvVIsJecbno%3D' (2026-04-14)
• Added input 'ndg/nixpkgs':
    'https://releases.nixos.org/nixos/unstable/nixos-26.05pre972949.6201e203d095/nixexprs.tar.xz?lastModified=1775036866&narHash=sha256-ByAX1LkhCwZ94%2BKnFAmnJSMAvui7kgCxjHgUHsWAbfI%3D&rev=6201e203d09599479a3b3450ed24fa81537ebc4e' (2026-04-01)
2026-04-16 21:33:58 +01:00
Max
71dcc1886e
Release automation (#80)
* add hercules-ci-effects

* flake.lock: Update

Flake lock file updates:

• Added input 'hercules-ci-effects':
    'github:max-privatevoid/hercules-ci-effects/b8127446a483cfd91495037e343b592662033188?narHash=sha256-xlxgYZ0eCnr9ikQuM5VuD8rUjLdbGzSKgF2EoRKDn/8%3D' (2025-07-01)
• Added input 'hercules-ci-effects/flake-parts':
    follows 'flake-parts'
• Added input 'hercules-ci-effects/nixpkgs':
    follows 'nixpkgs'

* provide binary artifacts via github releases

* auto-tag releases from current package version
2025-07-01 23:45:12 +02:00
Max
7975eea2f6
add vendor package with code generation output (#54) 2024-07-16 01:02:58 +02:00
Max
bde41b6a3e
Formatting (#31)
* add Nix formatter

* nix fmt

* check that Nix and Go code is formatted correctly

* refactor flake.nix

* add formatter to devShell
2024-06-02 21:45:11 +02:00
Max
ca6c623359
NixOS module (#26)
* init NixOS module

* nixos: open firewall ports

* nixos: add ExecStopPost and ExecReload features

* nixos: expose CLI to users
2024-06-02 20:01:16 +02:00
Max
f8393c418e
Generate config struct from NixOS options (#33)
* add clan.lol jsonschema library

* move devshell definition, add go-jsonschema package

* use generated schema for config file parsing

* include schema generation in build process
2024-06-02 17:03:02 +00:00
Max
d97924b908
Documentation (#21)
* add documentation infrastructure

* document service network

* document automatic addressing

* document dns

* document configuration from nixos options
2024-06-01 21:09:08 +02:00
raf
121b22faf7
nix: unshittify (#30) 2024-05-28 14:45:49 +00:00
Max
38609e6040
only run CI on Linux (#2) 2024-05-02 22:46:05 +02:00
Max
00497d9ad9 add a basic devShell 2024-04-28 14:08:25 +02:00
Max
d1af2895e4 init flake 2024-04-28 14:00:06 +02:00