nixos/twingate: avoid conflicts with resolved

This commit is contained in:
Ilan Joselevich 2023-08-23 23:01:47 +03:00
parent 6adb20e965
commit e739ef8066
No known key found for this signature in database

View file

@ -17,7 +17,7 @@ in
}; };
networking.firewall.checkReversePath = lib.mkDefault "loose"; networking.firewall.checkReversePath = lib.mkDefault "loose";
services.resolved.enable = !(config.networking.networkmanager.enable); services.resolved.enable = lib.mkIf (!config.networking.networkmanager.enable) true;
environment.systemPackages = [ cfg.package ]; # For the CLI. environment.systemPackages = [ cfg.package ]; # For the CLI.
}; };