From 086d8a8553589a8efdaca687e6ade36e3110ec44 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sun, 19 Jan 2025 18:21:44 -0600 Subject: [PATCH] prepare algiz for attic swap --- hosts/algiz/services.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/algiz/services.nix b/hosts/algiz/services.nix index 8944a66..7dea8c5 100644 --- a/hosts/algiz/services.nix +++ b/hosts/algiz/services.nix @@ -1,4 +1,4 @@ -{ pkgs, enabled, ... }: +{ pkgs, enabled, flake, ... }: let atticPort = "5656"; static = pkgs.runCommandLocal "static-files" { } '' @@ -26,6 +26,8 @@ in # https://discourse.nixos.org/t/docker-container-not-resolving-to-host/30259/6 # networking.firewall.extraCommands = "iptables -A INPUT -p tcp --destination-port ${atticPort} -s 172.16.0.0/12 -j ACCEPT"; services.atticd = enabled // { + package = (flake.pkgs "lix-attic").attic-server; + # Replace with absolute path to your credentials file environmentFile = "/etc/atticd.env";