Skip to content

feat: add Nix flake#666

Open
Youwes09 wants to merge 2 commits into5rahim:mainfrom
Youwes09:feat/nix-flake
Open

feat: add Nix flake#666
Youwes09 wants to merge 2 commits into5rahim:mainfrom
Youwes09:feat/nix-flake

Conversation

@Youwes09
Copy link
Copy Markdown

Adds a flake.nix for building Seanime on NixOS.

  • nix build .#seanime — Go server with embedded web interface
  • nix build .#seanimeWeb — frontend only
  • nix build .#seanime-denshi — official AppImage wrapped as a Nix derivation
  • nix run . — runs Seanime Denshi (default)
  • devShells.default — dev shell with Go, Node.js, and all dependencies
  • nixosModules.default — systemd service module

Notes

  • seanime-denshi wraps the pre-built AppImage rather than building from source due to the custom Electron 39 build with codec patches
  • Frontend and server are separate derivations for cache efficiency
  • Tested on NixOS unstable x86_64-linux

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