This commit is contained in:
2026-05-30 23:37:40 +09:00
parent 394638638d
commit 3ff532f9e5
61 changed files with 708 additions and 36 deletions
+13
View File
@@ -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;
};
}
+6
View File
@@ -0,0 +1,6 @@
{
imports = [
./bluetooth.nix
./wifi.nix
];
}
+13
View File
@@ -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;
};
}