containers: Don't enable on phone

Fixes an issue where the build would previously fail.
This commit is contained in:
Donovan Glover 2024-06-20 13:49:39 -04:00
parent 708bec1773
commit 3e5a395dc8
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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";