feat: pykms NixOS container #65

Closed
hermes wants to merge 8 commits from hermes/pykms-container into master
Collaborator

pykms NixOS container op roeland

Vervangt de oude Debian KMS server.

  • Container op 192.168.100.33
  • Poort 45291 (TCP, doorgestuurd naar host)
  • Data op /mnt/BFD/volumes/pykms/data (SSD, persistent)
  • services.pykms uit nixpkgs-unstable
  • Database auto-aangemaakt bij eerste start
  • Backups via bestaand schema

Na deploy: router port-forward aanpassen van 1688 naar 45291

pykms NixOS container op roeland Vervangt de oude Debian KMS server. - Container op `192.168.100.33` - Poort 45291 (TCP, doorgestuurd naar host) - Data op `/mnt/BFD/volumes/pykms/data` (SSD, persistent) - `services.pykms` uit nixpkgs-unstable - Database auto-aangemaakt bij eerste start - Backups via bestaand schema **Na deploy: router port-forward aanpassen van 1688 naar 45291**
- Use perSystem pattern + inputs.nixpkgs-unstable for the package
  definition (flake-parts convention), fixing the undefined 'pkgs' error
- Reference pykms via self.packages.${system} in the container's
  systemd service ExecStart instead of pkgs.unstable.pykms, because
  the container's pkgs doesn't have the 'unstable' overlay
fix(pykms): force container services.pykms state cleanup
All checks were successful
argunix: nixosConfigurations.warwick cache hit
argunix: evaluation 1 ok, 15 cached, 0 failed
argunix: packages.x86_64-linux.pykms build ok
argunix: devShells.x86_64-linux.default cache hit
argunix: packages.x86_64-linux.loki-mcp cache hit
argunix: nixosConfigurations.lewis cache hit
argunix: nixosConfigurations.dave cache hit
argunix: packages.x86_64-linux.formatter cache hit
argunix: nixosConfigurations.blocktech cache hit
argunix: packages.x86_64-linux.myNeovim cache hit
argunix: nixosConfigurations.roeland cache hit
argunix: packages.x86_64-linux.prometheus-mcp-server cache hit
argunix: nixosConfigurations.gamepc cache hit
argunix: packages.x86_64-linux.profilarr cache hit
argunix: packages.x86_64-linux.hass-mcp cache hit
argunix: packages.x86_64-linux.paperless-mcp cache hit
argunix: nixosConfigurations.atlas cache hit
320094db44
hermes closed this pull request 2026-06-27 14:06:40 +02:00
All checks were successful
argunix: nixosConfigurations.warwick cache hit
argunix: evaluation 1 ok, 15 cached, 0 failed
argunix: packages.x86_64-linux.pykms build ok
argunix: devShells.x86_64-linux.default cache hit
argunix: packages.x86_64-linux.loki-mcp cache hit
argunix: nixosConfigurations.lewis cache hit
argunix: nixosConfigurations.dave cache hit
argunix: packages.x86_64-linux.formatter cache hit
argunix: nixosConfigurations.blocktech cache hit
argunix: packages.x86_64-linux.myNeovim cache hit
argunix: nixosConfigurations.roeland cache hit
argunix: packages.x86_64-linux.prometheus-mcp-server cache hit
argunix: nixosConfigurations.gamepc cache hit
argunix: packages.x86_64-linux.profilarr cache hit
argunix: packages.x86_64-linux.hass-mcp cache hit
argunix: packages.x86_64-linux.paperless-mcp cache hit
argunix: nixosConfigurations.atlas cache hit

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pim/nixos-configs!65
No description provided.