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.virt-manager.forUsers = ["jonas"];
hive.bluetooth.enable = true; hive.bluetooth.enable = true;
hive.sound.enable = true; hive.sound.enable = true;
hive.sound.noisetorch = true;
hive.yubikey.enable = true; hive.yubikey.enable = true;
hive.services.kdeconnect.enable = true; hive.services.kdeconnect.enable = true;
hive.wg.client.enable = true; hive.wg.client.enable = true;

View File

@ -6,10 +6,17 @@
cfg = config.hive.sound; cfg = config.hive.sound;
in { in {
options = { options = {
hive.sound.enable = lib.mkOption { hive.sound = {
type = lib.types.bool; enable = lib.mkOption {
default = false; type = lib.types.bool;
description = "Enable sound with pipewire."; 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 { config = lib.mkIf cfg.enable {
@ -28,5 +35,6 @@ in {
# no need to redefine it in your config for now) # no need to redefine it in your config for now)
#media-session.enable = true; #media-session.enable = true;
}; };
programs.noisetorch.enable = cfg.noisetorch;
}; };
} }