The /nix/ page (hugo-site/content/nix/index.md) tells NixOS users to wire the flake's freenet-node package in through specialArgs and copy the systemd unit from docs/nix.md by hand.
freenet/freenet-core#5762 adds a NixOS module, so once a release contains it this becomes:
modules = [ ./configuration.nix freenet.nixosModules.default { services.freenet-node.enable = true; } ];
Once the first release including #5762 is out:
- replace the NixOS section with the module snippet, pinned to that tag
- keep a short pointer to the hand-written unit in
docs/nix.md for people who want their own
- bump the install tag on the page
Don't do this before that release: an older tag has no nixosModules.
[AI-assisted - Claude]
The
/nix/page (hugo-site/content/nix/index.md) tells NixOS users to wire the flake'sfreenet-nodepackage in throughspecialArgsand copy the systemd unit fromdocs/nix.mdby hand.freenet/freenet-core#5762 adds a NixOS module, so once a release contains it this becomes:
Once the first release including #5762 is out:
docs/nix.mdfor people who want their ownDon't do this before that release: an older tag has no
nixosModules.[AI-assisted - Claude]