mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-22 07:07:32 -06:00
prepare algiz for attic swap
This commit is contained in:
parent
202243ab29
commit
086d8a8553
1 changed files with 3 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue