Skip to content

feat(nix): add flake with NixOS and Home Manager modules for TorrServer#666

Open
GriefNorth wants to merge 1 commit intoYouROK:masterfrom
GriefNorth:master
Open

feat(nix): add flake with NixOS and Home Manager modules for TorrServer#666
GriefNorth wants to merge 1 commit intoYouROK:masterfrom
GriefNorth:master

Conversation

@GriefNorth
Copy link

Add Nix flake for TorrServer with offline builds and module system

  • Implement fully offline build using fetchYarnDeps and buildGoModule
  • Add NixOS module with systemd service, user/group management, and firewall rules
  • Add Home Manager module with user service and proper directory handling
  • Support all TorrServer options: port, auth, SSL, WebDAV, DLNA, cache limits, etc.
  • Fix swag documentation generation with proper parsing flags
  • Set Go 1.26 to match project requirements
  • Ensure reproducible builds without network access

Tested with NixOS 26.05 (Yarara) and standalone home-manager on Ubuntu 24.04

Add Nix flake for TorrServer with offline builds and module system

- Implement fully offline build using fetchYarnDeps and buildGoModule
- Add NixOS module with systemd service, user/group management, and
firewall rules
- Add Home Manager module with user service and proper directory
handling
- Support all TorrServer options: port, auth, SSL, WebDAV, DLNA, cache
limits, etc.
- Fix swag documentation generation with proper parsing flags
- Set Go 1.26 to match project requirements
- Ensure reproducible builds without network access

Tested with NixOS 26.05 (Yarara) and standalone home-manager on Ubuntu
24.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant