feat(nixos): Disable WIFI on servers
This commit is contained in:
parent
862a6063d0
commit
66ffad5ff2
1 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
_: {
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
networking.wireless.enable = lib.mkIf config.marleyos.isServer false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue