aboutsummaryrefslogtreecommitdiff
path: root/modules/services/options.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/options.nix')
-rw-r--r--modules/services/options.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/services/options.nix b/modules/services/options.nix
new file mode 100644
index 0000000..344d37d
--- /dev/null
+++ b/modules/services/options.nix
@@ -0,0 +1,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";
+ };
+ };
+}