diff --git a/nixos/hosts/andrej-pc/configuration.nix b/nixos/hosts/andrej-pc/configuration.nix index 40a899b..b92da4d 100644 --- a/nixos/hosts/andrej-pc/configuration.nix +++ b/nixos/hosts/andrej-pc/configuration.nix @@ -65,6 +65,42 @@ ]; + services.pipewire = { + extraLv2Packages = [ pkgs.rnnoise-plugin ]; + configPackages = [ + (pkgs.writeTextDir "share/pipewire/pipewire.conf.d/20-rnnoise.conf" '' + context.modules = [ + { name = libpipewire-module-filter-chain + args = { + node.description = "Noise Canceling source" + media.name = "Noise Canceling source" + filter.graph = { + nodes = [ + { + type = lv2 + name = rnnoise + plugin = "https://github.com/werman/noise-suppression-for-voice#stereo" + label = noise_suppressor_stereo + control = { + } + } + ] + } + capture.props = { + node.name = "capture.rnnoise_source" + node.passive = true + } + playback.props = { + node.name = "rnnoise_source" + media.class = Audio/Source + } + } + } + ] + '') + ]; + }; + # Enable networking networking.networkmanager.enable = true; diff --git a/nixos/hosts/kylekrein-mac/default.nix b/nixos/hosts/kylekrein-mac/default.nix index 9a7120c..20ec32e 100644 --- a/nixos/hosts/kylekrein-mac/default.nix +++ b/nixos/hosts/kylekrein-mac/default.nix @@ -4,6 +4,7 @@ hwconfig, inputs, config, + unstable-pkgs, ... }: { imports = [ @@ -23,4 +24,8 @@ services.displayManager.sddm = { wayland.enable = lib.mkForce false; # black screen }; + environment.systemPackages = with pkgs;[ + prismlauncher + unstable-pkgs.mcpelauncher-ui-qt + ]; }