Use the panel from its own flake (reudy-net/panel) #3

Merged
reudy merged 1 commit from agent/panel-flake into main 2026-09-27 20:00:29 +02:00 AGit
Member

The panel code now lives in reudy-net/panel, with its history kept. That repo is a flake that provides a package and a NixOS module (services.reudy-panel).

This PR:

  • adds the panel flake input and imports its module. The input uses git+ssh because the reudy-net org isn't visible anonymously.
  • shrinks panel.nix to the service options (domain and Authelia address).
  • moves the Caddy routes import into the module and deletes panel/.

Checked with nix:

  • The vps system evaluates.
  • panel-api.service, tmpfiles, groups, the Caddy vhost and routes import, and the reload units match main apart from store paths.
  • The panel package builds, and a smoke test showed it serving the UI and /apps.

Deploying: evaluation fetches the panel over ssh as the user running it. Run the rebuild as reudy, whose key can read the repo, and let it use sudo only to activate:

cd ~/nixos && git pull
nixos-rebuild switch --flake .#vps --sudo

To update the panel later:

nix flake update panel && nixos-rebuild switch --flake .#vps --sudo

🤖 Generated with Claude Code

https://claude.ai/code/session_01UbWSNkXxZhYf7eqHTyx3Bf

The panel code now lives in [reudy-net/panel](https://git.reudy.net/reudy-net/panel), with its history kept. That repo is a flake that provides a package and a NixOS module (`services.reudy-panel`). This PR: - adds the `panel` flake input and imports its module. The input uses `git+ssh` because the reudy-net org isn't visible anonymously. - shrinks `panel.nix` to the service options (domain and Authelia address). - moves the Caddy routes import into the module and deletes `panel/`. Checked with nix: - The `vps` system evaluates. - `panel-api.service`, tmpfiles, groups, the Caddy vhost and routes import, and the reload units match `main` apart from store paths. - The panel package builds, and a smoke test showed it serving the UI and `/apps`. **Deploying:** evaluation fetches the panel over ssh as the user running it. Run the rebuild as `reudy`, whose key can read the repo, and let it use sudo only to activate: ```bash cd ~/nixos && git pull nixos-rebuild switch --flake .#vps --sudo ``` To update the panel later: ```bash nix flake update panel && nixos-rebuild switch --flake .#vps --sudo ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01UbWSNkXxZhYf7eqHTyx3Bf
agent added 1 commit 2026-09-27 19:56:11 +02:00
The panel's code moved to git.reudy.net/reudy-net/panel, which provides a
package and a NixOS module. This config now pulls it in as the `panel`
flake input and only sets services.reudy-panel options, so panel updates
are `nix flake update panel` instead of edits in this repo.

The input uses ssh because the reudy-net org is not visible anonymously.
The generated service, directories, Caddy vhost, routes import and reload
units are unchanged apart from store paths.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UbWSNkXxZhYf7eqHTyx3Bf
reudy merged commit 9aa395814c into main 2026-09-27 20:00:29 +02:00
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: reudy-net/nixos#3
No description provided.