From 66ffad5ff28f91d25bf175a5fd682a4a3981e6f9 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Mon, 17 Feb 2025 20:24:29 -0800 Subject: [PATCH] feat(nixos): Disable WIFI on servers --- modules/nixos/base/networking/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/nixos/base/networking/default.nix b/modules/nixos/base/networking/default.nix index 0533ec2..1b3f722 100644 --- a/modules/nixos/base/networking/default.nix +++ b/modules/nixos/base/networking/default.nix @@ -1,3 +1,9 @@ -_: { +{ + lib, + config, + ... +}: { networking.networkmanager.enable = true; + + networking.wireless.enable = lib.mkIf config.marleyos.isServer false; }