summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configuration.nix3
-rw-r--r--router.nix2
2 files changed, 4 insertions, 1 deletions
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;