SV-268146r1131093_rule
V-268146
SRG-OS-000299-GPOS-00117
ANIX-00-001250
CAT I
10
Configure the audit service to disable wireless interfaces.
Add the following Nix code to the NixOS Configuration, usually located in /etc/nixos/configuration.nix or /etc/nixos/flake.nix:
networking.wireless.enable = false;
Rebuild and switch to the new NixOS configuration:
$ sudo nixos-rebuild switch
Verify NixOS disables wireless adapters by running the following command:
$ grep -R networking.wireless /etc/nixos/
/etc/nixos/configuratino.nix:networking.wireless.enable = false;
If " networking.wireless.enable", does not equal false, is missing, or is commented out, this is a finding.
V-268146
False
ANIX-00-001250
Verify NixOS disables wireless adapters by running the following command:
$ grep -R networking.wireless /etc/nixos/
/etc/nixos/configuratino.nix:networking.wireless.enable = false;
If " networking.wireless.enable", does not equal false, is missing, or is commented out, this is a finding.
M
5658