Update paths in configuration files to use /var/lib/containers instead of /home/reudy/containers
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
parent
5046bdd185
commit
74fa920ba0
5 changed files with 16 additions and 17 deletions
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
users.users.reudy = {
|
||||
isNormalUser = true;
|
||||
# Keep home traversable so caddy can import generated snippets from ~/containers/routes.
|
||||
homeMode = "0755";
|
||||
extraGroups = [ "wheel" "podman" "panelroutes" ]; #sudo
|
||||
openssh.authorizedKeys.keys = [
|
||||
|
|
@ -40,13 +39,13 @@
|
|||
users.users.caddy.extraGroups = [ "panelroutes" ];
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /home/reudy/containers 0750 reudy panelroutes -"
|
||||
"d /home/reudy/containers/stacks 0750 reudy panelroutes -"
|
||||
"d /home/reudy/containers/volumes 0750 reudy panelroutes -"
|
||||
"d /home/reudy/containers/routes 0755 reudy panelroutes -"
|
||||
"d /home/reudy/containers/state 0750 reudy panelroutes -"
|
||||
"d /home/reudy/containers/state/apps 0750 reudy panelroutes -"
|
||||
"f /home/reudy/containers/routes/routes.caddy 0640 reudy panelroutes -"
|
||||
"d /var/lib/containers 0750 reudy panelroutes -"
|
||||
"d /var/lib/containers/stacks 0750 reudy panelroutes -"
|
||||
"d /var/lib/containers/volumes 0750 reudy panelroutes -"
|
||||
"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 -"
|
||||
"f /var/lib/containers/routes/routes.caddy 0640 reudy panelroutes -"
|
||||
"f /var/lib/systemd/linger/reudy"
|
||||
];
|
||||
|
||||
|
|
@ -74,7 +73,7 @@
|
|||
environment = {
|
||||
PANEL_API_BIND = "127.0.0.1";
|
||||
PANEL_API_PORT = "9911";
|
||||
PANEL_BASE_DIR = "/home/reudy/containers";
|
||||
PANEL_BASE_DIR = "/var/lib/containers";
|
||||
PANELCTL_PATH = "/run/current-system/sw/bin/panelctl";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue