Push these changes to a branch cause I'm kind of giving up
This commit is contained in:
parent
d9469fc321
commit
e3bacb2d84
229 changed files with 1496 additions and 1479 deletions
11
system/modules/networking/default.nix
Normal file
11
system/modules/networking/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
./wireless
|
||||
];
|
||||
|
||||
networking = {
|
||||
wireless.enable = false;
|
||||
dhcpcd.enable = true;
|
||||
nftables.enable = true;
|
||||
};
|
||||
}
|
12
system/modules/networking/wireless/default.nix
Normal file
12
system/modules/networking/wireless/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ lib, config, ... }: {
|
||||
options = {
|
||||
networking.wifi.enable = lib.mkEnableOption "Enable enable Network Manager and B43";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.misc.general.enable {
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
enableB43Firmware = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue