aboutsummaryrefslogtreecommitdiff
path: root/modules/services/options.nix
blob: 344d37d558e5ae08791323907a76ee04ad12927c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{lib, ...}: let
  inherit (lib) mkEnableOption mkOption types;
in {
  options = {
    collinux.services = {
      networking = {
        enable = mkEnableOption "wifi";
        wifiDaemon = mkOption {
          type = types.enum ["networkmanager" "iwd"];
        };
      };
      audio = {
        enable = mkEnableOption "pipewire + wireplumber";
        pulse.enable = mkEnableOption "pipewire-pulse";
        # some config to make audio work with wine (TODO for jupiter)
      };
      bluetooth.enable = mkEnableOption "bluetooth";
    };
  };
}