diff --git a/nixos/modules/myFlake/hardware/components/audio.nix b/nixos/modules/myFlake/hardware/components/audio.nix index 8cc21d6..331ba2c 100755 --- a/nixos/modules/myFlake/hardware/components/audio.nix +++ b/nixos/modules/myFlake/hardware/components/audio.nix @@ -27,6 +27,9 @@ in { alsa.support32Bit = true; pulse.enable = true; jack.enable = true; + + # pipewireLowLatency module from github:fufexan/nix-gaming + lowLatency.enable = true; }; }) (lib.mkIf (cfg.soundServer == "pulseaudio") { diff --git a/nixos/profiles/common/core/default.nix b/nixos/profiles/common/core/default.nix index 591410e..2957ff2 100644 --- a/nixos/profiles/common/core/default.nix +++ b/nixos/profiles/common/core/default.nix @@ -18,6 +18,7 @@ inputs.impermanence.nixosModules.impermanence inputs.lanzaboote.nixosModules.lanzaboote inputs.sops-nix.nixosModules.sops + inputs.nix-gaming.nixosModules.pipewireLowLatency ]; users.mutableUsers = false;