Overhaul luna complete
This commit is contained in:
parent
06f5971965
commit
6f9fdca876
110 changed files with 2408 additions and 2129 deletions
22
modules/hardware/wifi.nix
Normal file
22
modules/hardware/wifi.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
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"];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue