This commit is contained in:
Faris 2026-03-09 16:30:54 +00:00
parent 7f70d12f4f
commit bf9ed72841
2 changed files with 45 additions and 22 deletions

View File

@ -277,6 +277,7 @@
};
};
home-assistant = {
image = "ghcr.io/home-assistant/home-assistant:stable";
autoStart = true;

View File

@ -105,28 +105,28 @@ systemd.services.podman-network-vlan50 = {
};
};
services.restic.backups.backup = {
initialize = true;
environmentFile = config.age.secrets."restic/environmentFile".path;
repositoryFile = config.age.secrets."restic/repositoryFile".path;
passwordFile = config.age.secrets."restic/passwordFile".path;
paths = [
"/pool/services"
"/pool/data"
];
exclude = [
"/pool/services/cctv"
];
pruneOpts = [
"--keep-daily 7"
"--keep-weekly 5"
"--keep-monthly 12"
];
};
# services.restic.backups.backup = {
# initialize = true;
# environmentFile = config.age.secrets."restic/environmentFile".path;
# repositoryFile = config.age.secrets."restic/repositoryFile".path;
# passwordFile = config.age.secrets."restic/passwordFile".path;
#
# paths = [
# "/pool/services"
# "/pool/data"
# ];
#
# exclude = [
# "/pool/services/cctv"
# ];
#
# pruneOpts = [
# "--keep-daily 7"
# "--keep-weekly 5"
# "--keep-monthly 12"
# ];
#
# };
# systemd.timers."prune-podman" = {
# wantedBy = [ "timers.target" ];
@ -256,6 +256,28 @@ systemd.services.podman-network-vlan50 = {
# };
};
headscale = {
image = "docker.io/headscale/headscale:stable";
autoStart = true;
#utoUpdate = "registry";
networks = [ "vlan50" ];
cmd = [ "serve" ];
environmentFiles = [
"/pool/services/secrets/default"
];
volumes = [
"/pool/services/podman/headscale/config:/etc/headscale:ro"
"/pool/services/podman/headscale/lib:/var/lib/headscale"
];
extraOptions = [
"--ip=192.168.50.38"
];
#extraConfig = {
# Service = {
# TimeoutStartSec = 900;
# };
##};
};
matrix = {
image = "ghcr.io/element-hq/synapse";