Reshuffle modules a bit

This commit is contained in:
SebastianStork 2025-05-28 18:16:17 +02:00
parent 211ca98e92
commit a8f9d8108d
9 changed files with 15 additions and 15 deletions

View file

@ -1,8 +1,8 @@
{ config, lib, ... }:
{
options.custom.services.bluetooth.enable = lib.mkEnableOption "";
options.custom.bluetooth.enable = lib.mkEnableOption "";
config = lib.mkIf config.custom.services.bluetooth.enable {
config = lib.mkIf config.custom.bluetooth.enable {
hardware = {
bluetooth = {
enable = true;

View file

@ -1,8 +1,8 @@
{ config, lib, ... }:
{
options.custom.services.sound.enable = lib.mkEnableOption "";
options.custom.sound.enable = lib.mkEnableOption "";
config = lib.mkIf config.custom.services.sound.enable {
config = lib.mkIf config.custom.sound.enable {
security.rtkit.enable = true;
services = {
pulseaudio.enable = false;

View file

@ -13,9 +13,9 @@ let
];
in
{
options.custom.services.wlan.enable = lib.mkEnableOption "";
options.custom.wlan.enable = lib.mkEnableOption "";
config = lib.mkIf config.custom.services.wlan.enable (
config = lib.mkIf config.custom.wlan.enable (
lib.mkMerge [
{
networking.wireless.iwd = {