From 398c1ba29e652ec98c73d4059b9b588914ff7ab6 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Fri, 15 Sep 2023 17:12:47 +0200 Subject: [PATCH] edison: add pipewire --- hosts/edison/configuration.nix | 5 +++-- hosts/edison/desktop.nix | 7 ++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/hosts/edison/configuration.nix b/hosts/edison/configuration.nix index fb9585f..51b9321 100644 --- a/hosts/edison/configuration.nix +++ b/hosts/edison/configuration.nix @@ -23,8 +23,9 @@ # sops.defaultSopsFile = ../../secrets/edison/edison.yaml; environment.variables = { EDITOR = "vim"; }; - # environment.systemPackages = with pkgs; [ - # ]; + environment.systemPackages = with pkgs; [ + pavucontrol + ]; nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "nvidia-x11" diff --git a/hosts/edison/desktop.nix b/hosts/edison/desktop.nix index b58cd83..62292f8 100644 --- a/hosts/edison/desktop.nix +++ b/hosts/edison/desktop.nix @@ -3,11 +3,16 @@ services.xserver = { enable = true; desktopManager.xfce.enable = true; - #displayManager.ly.enable = true; videoDrivers = [ "nvidia" ]; }; services.picom.enable = true; hardware.opengl.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + pulse.enable = true; + jack.enable = true; + }; fonts = { fontDir.enable = true;