Skip to content

Commit

Permalink
disable pulseaudio globally
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnvgr committed Feb 22, 2024
1 parent 269b2fd commit 241ba7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
./neovim
./shell.nix
./archiving.nix
./pulseaudio.nix
];

networking.hostName = hostname;
Expand Down
4 changes: 4 additions & 0 deletions core/pulseaudio.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{ ... }: {
sound.enable = false;
hardware.pulseaudio.enable = false;
}
5 changes: 1 addition & 4 deletions modules/desktop/core/sound.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ let
cfg = config.modules.desktop;
in {
config = mkIf cfg.enable {
sound.enable = false;
hardware.pulseaudio.enable = false;

security.rtkit.enable = true;

services.pipewire = {
Expand All @@ -15,7 +12,7 @@ in {
alsa.support32Bit = true;

pulse.enable = true;
# jack.enable = true;
jack.enable = true;
};

environment.systemPackages = with pkgs; [ alsa-utils ];
Expand Down

0 comments on commit 241ba7c

Please sign in to comment.