feat: add initial implementation of the frontend panel with app management features

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Jakub Dorfman 2026-04-26 23:53:17 +02:00
parent 64c5b573cf
commit 15a40af87b
6 changed files with 1553 additions and 557 deletions

View file

@ -12,6 +12,8 @@
pkgs.podman
pkgs.python3
pkgs.podman-compose
pkgs.zip
pkgs.unzip
(pkgs.writeShellScriptBin "panelctl" (builtins.readFile ./panel/panelctl.sh))
];
@ -45,6 +47,7 @@
"d /var/lib/containers/routes 0755 reudy panelroutes -"
"d /var/lib/containers/state 0750 reudy panelroutes -"
"d /var/lib/containers/state/apps 0750 reudy panelroutes -"
"d /var/lib/containers/backups 0750 reudy panelroutes -"
"f /var/lib/containers/routes/routes.caddy 0644 reudy panelroutes -"
"f /var/lib/systemd/linger/reudy"
];
@ -58,6 +61,8 @@
pkgs.podman-compose
pkgs.sudo
pkgs.coreutils
pkgs.zip
pkgs.unzip
];
serviceConfig = {
@ -75,6 +80,7 @@
PANEL_API_PORT = "9911";
PANEL_BASE_DIR = "/var/lib/containers";
PANELCTL_PATH = "/run/current-system/sw/bin/panelctl";
PANEL_FRONTEND_DIR = "${./panel/frontend}";
};
};