From bf9ed72841e7239905e027986d3079eabcfd60e1 Mon Sep 17 00:00:00 2001 From: Faris Date: Mon, 9 Mar 2026 16:30:54 +0000 Subject: [PATCH] push --- home/podman.nix | 1 + hosts/server/settings.nix | 66 ++++++++++++++++++++++++++------------- 2 files changed, 45 insertions(+), 22 deletions(-) diff --git a/home/podman.nix b/home/podman.nix index 52af5ac..9fca9a2 100644 --- a/home/podman.nix +++ b/home/podman.nix @@ -277,6 +277,7 @@ }; }; + home-assistant = { image = "ghcr.io/home-assistant/home-assistant:stable"; autoStart = true; diff --git a/hosts/server/settings.nix b/hosts/server/settings.nix index ca077c0..dc8f5d6 100644 --- a/hosts/server/settings.nix +++ b/hosts/server/settings.nix @@ -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";