mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-13 16:29:38 +01:00
containers: Don't enable on phone
Fixes an issue where the build would previously fail.
This commit is contained in:
parent
708bec1773
commit
3e5a395dc8
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
inherit (config.modules.system) username;
|
inherit (config.modules.system) username phone;
|
||||||
inherit (config.boot) enableContainers;
|
inherit (config.boot) enableContainers;
|
||||||
|
|
||||||
template = {
|
template = {
|
||||||
@ -50,7 +50,7 @@ in
|
|||||||
"d /run/user/1000 0700 ${username} users -"
|
"d /run/user/1000 0700 ${username} users -"
|
||||||
];
|
];
|
||||||
|
|
||||||
containers = mkIf enableContainers {
|
containers = mkIf (enableContainers && !phone) {
|
||||||
wine = template // {
|
wine = template // {
|
||||||
hostAddress = "192.168.100.34";
|
hostAddress = "192.168.100.34";
|
||||||
localAddress = "192.168.100.49";
|
localAddress = "192.168.100.49";
|
||||||
|
Loading…
Reference in New Issue
Block a user