From c95b2340926c9158f72a8e4a0248ea0d7ac384f0 Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Mon, 17 Nov 2025 17:49:04 +0100 Subject: add docker --- configuration.nix | 3 +++ router.nix | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 34c2516..8c68e31 100644 --- a/configuration.nix +++ b/configuration.nix @@ -47,6 +47,9 @@ }; age.secrets."password-hash.txt".file = ./secrets/password-hash.txt.age; + virtualisation.docker.enable = true; + oden.persist.directories = [ "/var/lib/docker" ]; + programs.fish.enable = true; environment.systemPackages = with pkgs; [ diff --git a/router.nix b/router.nix index 2f0d431..20d07c1 100644 --- a/router.nix +++ b/router.nix @@ -25,7 +25,7 @@ nat = { enable = true; externalInterface = "wan"; - internalInterfaces = [ "ethlan" "wlan" ]; + internalInterfaces = [ "ethlan" "wlan" "docker0" ]; forwardPorts = [ { sourcePort = 51801; -- cgit v1.2.3