Skip to content

Commit

Permalink
test pipewire also on work
Browse files Browse the repository at this point in the history
  • Loading branch information
bbigras committed Oct 15, 2020
1 parent dbacab2 commit 5969c4e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions systems/work.nix
Expand Up @@ -5,8 +5,16 @@
{ pkgs, ... }:
let
zen = (import (import ../nix).zen { });
sources = (import ../nix);
pipewire-src = import sources.pipewire { };
in
{
nixpkgs.config = {
packageOverrides = pkgs: {
pipewire = pipewire-src.pipewire;
};
};

imports =
[
../core
Expand All @@ -18,12 +26,26 @@ in
(import ../nix).cpu_intel
(import ../nix).ssd

(sources.pipewire + "/nixos/modules/services/desktops/pipewire.nix")

../sway
../sway/trusted.nix

../users/bbigras
] ++ (if builtins.pathExists ../secrets/at_work.nix then [ ../secrets/at_work.nix ] else [ ]);

disabledModules = [ "services/desktops/pipewire.nix" ];

sound.enable = true;
hardware.pulseaudio.enable = false;
# services.jack.jackd.enable = false;
services.pipewire = {
enable = true;
pulse.enable = true;
alsa.enable = true;
# jack.enable = true;
};

boot.kernelPackages = zen.linuxPackages_zen;
boot.kernel.sysctl = {
"kernel.sysrq" = 1;
Expand Down

0 comments on commit 5969c4e

Please sign in to comment.