Wtf why did it remove everything.
This commit is contained in:
parent
d58b606d90
commit
2144d9ef61
73 changed files with 1077 additions and 0 deletions
13
modules/system/devices/networking/wireless/default.nix
Normal file
13
modules/system/devices/networking/wireless/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
options.system.wireless.enable = lib.mkEnableOption "Enable wireless stack";
|
||||
|
||||
config = lib.mkIf config.system.wireless.enable {
|
||||
networking.wireless.iwd.enable = true;
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [ impala ];
|
||||
persistence."/persist".directories = [ "/var/lib/iwd/" ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue