mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:18:12 +09:00
fix
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{ lib, config, ... }:
|
||||
let
|
||||
cfg = config.my.features.connect.bluetooth;
|
||||
in
|
||||
{
|
||||
options.my.features.connect.bluetooth = {
|
||||
enable = lib.mkEnableOption "Bluetooth support";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
my.system.hardware.bluetooth.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./bluetooth.nix
|
||||
./wifi.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{ lib, config, ... }:
|
||||
let
|
||||
cfg = config.my.features.connect.wifi;
|
||||
in
|
||||
{
|
||||
options.my.features.connect.wifi = {
|
||||
enable = lib.mkEnableOption "WiFi (NetworkManager) support";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
my.system.network.wifi.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user