prepare algiz for attic swap

This commit is contained in:
Daylin Morgan 2025-01-19 18:21:44 -06:00
parent 202243ab29
commit 086d8a8553
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -1,4 +1,4 @@
{ pkgs, enabled, ... }: { pkgs, enabled, flake, ... }:
let let
atticPort = "5656"; atticPort = "5656";
static = pkgs.runCommandLocal "static-files" { } '' static = pkgs.runCommandLocal "static-files" { } ''
@ -26,6 +26,8 @@ in
# https://discourse.nixos.org/t/docker-container-not-resolving-to-host/30259/6 # 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"; # networking.firewall.extraCommands = "iptables -A INPUT -p tcp --destination-port ${atticPort} -s 172.16.0.0/12 -j ACCEPT";
services.atticd = enabled // { services.atticd = enabled // {
package = (flake.pkgs "lix-attic").attic-server;
# Replace with absolute path to your credentials file # Replace with absolute path to your credentials file
environmentFile = "/etc/atticd.env"; environmentFile = "/etc/atticd.env";