mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-08 01:14:01 +01:00
phone: Move containers config out of container module
We should explicitly enable it instead of conditionally disable it.
This commit is contained in:
parent
44cf7e6832
commit
591747784e
@ -94,6 +94,7 @@ in
|
||||
};
|
||||
|
||||
services.pipewire.enable = lib.mkForce false;
|
||||
boot.enableContainers = false;
|
||||
|
||||
networking = {
|
||||
wireless.enable = false;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
inherit (config.modules.system) username phone;
|
||||
inherit (config.modules.system) username;
|
||||
inherit (config.boot) enableContainers;
|
||||
|
||||
template = {
|
||||
@ -50,7 +50,7 @@ in
|
||||
"d /run/user/1000 0700 ${username} users -"
|
||||
];
|
||||
|
||||
containers = mkIf (enableContainers && !phone) {
|
||||
containers = mkIf enableContainers {
|
||||
wine = template // {
|
||||
hostAddress = "192.168.100.34";
|
||||
localAddress = "192.168.100.49";
|
||||
|
Loading…
Reference in New Issue
Block a user