From f1525ce3955e56d52f79c9df9101833c6f6d0f37 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Tue, 3 Oct 2023 19:20:29 +0200 Subject: [PATCH] Add pulseaudio global support --- config/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/default.nix b/config/default.nix index acc8259..96f337e 100644 --- a/config/default.nix +++ b/config/default.nix @@ -38,7 +38,11 @@ environment.pathsToLink = [ "/share/nix-direnv" ]; nixpkgs = { - config.allowUnfree = true; + config = { + allowUnfree = true; + pulseaudio = true; + }; + overlays = [ (_: super: { nix-direnv = super.nix-direnv.override { @@ -149,7 +153,7 @@ users.users."${username}" = { isNormalUser = true; shell = pkgs.zsh; - extraGroups = [ "docker" "networkmanager" "libvirtd" "wheel" ]; + extraGroups = [ "audio" "docker" "networkmanager" "libvirtd" "wheel" ]; initialPassword = "hello"; };