From 3e5a395dc84b18898c8ded6b9c64ec182613889d Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 20 Jun 2024 13:49:39 -0400 Subject: [PATCH] containers: Don't enable on phone Fixes an issue where the build would previously fail. --- modules/containers.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/containers.nix b/modules/containers.nix index 18261592..01f24673 100644 --- a/modules/containers.nix +++ b/modules/containers.nix @@ -2,7 +2,7 @@ let inherit (lib) mkIf; - inherit (config.modules.system) username; + inherit (config.modules.system) username phone; inherit (config.boot) enableContainers; template = { @@ -50,7 +50,7 @@ in "d /run/user/1000 0700 ${username} users -" ]; - containers = mkIf enableContainers { + containers = mkIf (enableContainers && !phone) { wine = template // { hostAddress = "192.168.100.34"; localAddress = "192.168.100.49";