Simplify more options

This commit is contained in:
Jimbo 2025-02-02 13:42:37 -05:00
parent fbfedfd761
commit 8c2bf296ca
8 changed files with 33 additions and 58 deletions

View file

@ -1,9 +1,6 @@
{ config, lib, pkgs, ... }:
{
options.system.wireless.enable = lib.mkOption {
type = lib.types.bool;
default = true;
};
options.system.wireless.enable = lib.mkEnableOption "Enable wireless stack";
config = lib.mkIf config.system.wireless.enable {
networking.wireless.iwd.enable = true;