diff --git a/flake.lock b/flake.lock index 151fb098..160a067d 100644 --- a/flake.lock +++ b/flake.lock @@ -2425,14 +2425,17 @@ ] }, "locked": { - "lastModified": 1770132108, - "narHash": "sha256-0Tzv5KCo2XPAq01An0BRNJXL3DmemY1J+ZYeYiqXsE8=", - "path": "/home/servius/Projects/MixiD", - "type": "path" + "lastModified": 1768471435, + "narHash": "sha256-gf0oCl8LrBDaEVxtDLa9eR8wNC7ropbsYsI2ILXPjWk=", + "owner": "leguteape", + "repo": "MixiD", + "rev": "32d049213cdf4d4d25f310609749daa72f26cf65", + "type": "github" }, "original": { - "path": "/home/servius/Projects/MixiD", - "type": "path" + "owner": "leguteape", + "repo": "MixiD", + "type": "github" } }, "music-player": { diff --git a/nixos/ryu/configuration.nix b/nixos/ryu/configuration.nix index bcf39dff..a7aabc15 100644 --- a/nixos/ryu/configuration.nix +++ b/nixos/ryu/configuration.nix @@ -113,6 +113,7 @@ # desktopManager.gnome.enable = true; pipewire = { enable = true; + audio.enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; diff --git a/nixos/ryu/services/default.nix b/nixos/ryu/services/default.nix index 94c1942f..bf47bfde 100644 --- a/nixos/ryu/services/default.nix +++ b/nixos/ryu/services/default.nix @@ -21,5 +21,6 @@ # ./sunshine.nix ./tailscale.nix ./wivrn.nix + ./pipewire.nix ]; } diff --git a/nixos/ryu/services/pipewire.nix b/nixos/ryu/services/pipewire.nix new file mode 100644 index 00000000..6c2e0863 --- /dev/null +++ b/nixos/ryu/services/pipewire.nix @@ -0,0 +1,20 @@ +{...}: { + services.pipewire = { + enable = true; + audio.enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + extraConfig = { + pipewire = { + "10-clock-rate" = { + "context.properties" = { + "default.clock.rate" = 48000; + "default.clock.quantum" = 32; + "default.clock.allowed-rates" = [44100 48000 88200 96000]; + }; + }; + }; + }; + }; +}