wireless: use private wireless module automatically
This commit is contained in:
parent
e83f6ba13a
commit
97bf51e81a
5 changed files with 3 additions and 8 deletions
|
@ -1,7 +1,5 @@
|
|||
{ pkgs, lib, private, ... }: {
|
||||
imports = lib.lists.flatten [
|
||||
private.nixosModules.wireless
|
||||
|
||||
./hardware-configuration.nix
|
||||
./filesystems.nix
|
||||
];
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{ pkgs, lib, private, ... }: {
|
||||
imports = lib.lists.flatten [
|
||||
private.nixosModules.wireless
|
||||
|
||||
./hardware-configuration.nix
|
||||
./filesystems.nix
|
||||
];
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{ lib, private, ... }:
|
||||
{
|
||||
imports = lib.lists.flatten [
|
||||
private.nixosModules.wireless
|
||||
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
private.nixosModules.wireless
|
||||
];
|
||||
|
||||
system.stateVersion = "21.11";
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, private, ... }:
|
||||
with lib;
|
||||
with lib.hlissner;
|
||||
let
|
||||
cfg = config.modules.hardware.wireless;
|
||||
in
|
||||
{
|
||||
imports = [ private.nixosModules.wireless ];
|
||||
|
||||
options.modules.hardware.wireless = {
|
||||
enable = mkBoolOpt false;
|
||||
bluetooth = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue