nix-config/modules/hardware/wifi.nix
2025-02-25 15:56:58 +01:00

22 lines
373 B
Nix

{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.hardware.wifi;
in {
options = {
horseman.hardware.wifi = {
enable = mkEnableOption "";
};
};
config = {
networking.networkmanager.enable = true;
users.users.horseman.extraGroups = ["networkmanager"];
};
}