mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-09 22:41:07 +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
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user