From 0cd6a8708e86254a831e1cc7047cb8811b165361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Mon, 20 May 2024 19:33:41 +0200 Subject: [PATCH] 323 current 1970-01-01 01:00:00 23.11.20240518.e7cc617 6.6.30-rt30 * --- modules/nixos/music.nix | 11 +++++++++++ modules/nixos/sway.nix | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/nixos/music.nix b/modules/nixos/music.nix index da43581..ab1e696 100644 --- a/modules/nixos/music.nix +++ b/modules/nixos/music.nix @@ -18,5 +18,16 @@ in { kernel.packages = pkgs.linuxPackages-rt_latest; }; users.users.max.extraGroups = ["audio"]; + + sound.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + jack.enable = true; + wireplumber.enable = true; + }; + security.rtkit.enable = true; }; } diff --git a/modules/nixos/sway.nix b/modules/nixos/sway.nix index 29592c0..b445c73 100644 --- a/modules/nixos/sway.nix +++ b/modules/nixos/sway.nix @@ -21,17 +21,6 @@ libnotify ]; - sound.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - jack.enable = true; - wireplumber.enable = true; - }; - security.rtkit.enable = true; - # xdg-desktop-portal works by exposing a series of D-Bus interfaces # known as portals under a well-known name # (org.freedesktop.portal.Desktop) and object path