fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ config, lib, pkgs, namespace, ... }:
|
||||
let
|
||||
inherit (lib) types mkIf mkDefault mkOption mkEnableOption;
|
||||
inherit (lib) types mkIf mkForce mkOption mkEnableOption;
|
||||
inherit (lib.${namespace}) mkBoolOpt enabled;
|
||||
|
||||
cfg = config.${namespace}.system.networking;
|
||||
@@ -53,7 +53,7 @@ in
|
||||
|
||||
networking = {
|
||||
firewall = enabled;
|
||||
useDHCP = (cfg.useDHCP && cfg.useStatic == null);
|
||||
useDHCP = mkForce (cfg.useDHCP && cfg.useStatic == null);
|
||||
useNetworkd = cfg.useNetworkd;
|
||||
} // (lib.optionalAttrs (cfg.enableIWD) {
|
||||
wireless.iwd = {
|
||||
|
||||
Reference in New Issue
Block a user