System Gen62 @ 2025-06-07-23:08:48 by jonas@monolith

This commit is contained in:
Jonas Röger 2025-06-07 23:08:49 +02:00
parent 55db1a54d4
commit ca049c5895
2 changed files with 13 additions and 4 deletions

View File

@ -51,6 +51,7 @@
hive.virt-manager.forUsers = ["jonas"];
hive.bluetooth.enable = true;
hive.sound.enable = true;
hive.sound.noisetorch = true;
hive.yubikey.enable = true;
hive.services.kdeconnect.enable = true;
hive.wg.client.enable = true;

View File

@ -6,11 +6,18 @@
cfg = config.hive.sound;
in {
options = {
hive.sound.enable = lib.mkOption {
hive.sound = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable sound with pipewire.";
};
noisetorch = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable Noisetorch for noise cancellation.";
};
};
};
config = lib.mkIf cfg.enable {
# Enable sound with pipewire.
@ -28,5 +35,6 @@ in {
# no need to redefine it in your config for now)
#media-session.enable = true;
};
programs.noisetorch.enable = cfg.noisetorch;
};
}