This commit is contained in:
2026-05-30 19:03:33 +09:00
parent f5ecef894d
commit 5f1cfc5275
155 changed files with 4168 additions and 300 deletions
+26
View File
@@ -0,0 +1,26 @@
{
lib,
config,
...
}:
let
cfg = config.my.system.hardware.bluetooth;
in
{
options.my.system.hardware.bluetooth = {
enable = lib.mkEnableOption "Bluetooth support";
};
config = lib.mkIf cfg.enable {
hardware = {
bluetooth.enable = true;
bluetooth.powerOnBoot = true;
};
services = {
bluetooth.enable = true;
bluetooth.startWhenNeeded = true;
blueman.enable = true;
};
};
}
+7
View File
@@ -0,0 +1,7 @@
{ lib, ... }:
{
hardware = {
enableRedistributableFirmware = lib.mkDefault true;
keyboard.qmk.enable = true;
};
}
+19
View File
@@ -0,0 +1,19 @@
{
lib,
config,
...
}:
let
cfg = config.my.system.hardware.gui;
in
{
options.my.system.hardware.gui = {
enable = lib.mkEnableOption "GPU/graphics hardware acceleration";
};
config = lib.mkIf cfg.enable {
hardware = {
graphics.enable = true;
};
};
}