Install nh and friends, modularize nixos conf.

This commit is contained in:
CronyAkatsuki 2025-01-29 21:26:50 +01:00
parent ea86d38cd1
commit 5054b13564
14 changed files with 302 additions and 209 deletions

View file

@ -0,0 +1,15 @@
{
lib,
config,
...
}: {
# Enable bluetooth
options = {
crony.bluetooth.enable = lib.mkEnableOption "enable bluetooth";
};
config = lib.mkIf config.crony.bluetooth.enable {
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
};
}