edison: add pipewire

This commit is contained in:
Felix Albrigtsen 2023-09-15 17:12:47 +02:00 committed by Felix Albrigtsen
parent 3011647838
commit 398c1ba29e
2 changed files with 9 additions and 3 deletions

View File

@ -23,8 +23,9 @@
# sops.defaultSopsFile = ../../secrets/edison/edison.yaml; # sops.defaultSopsFile = ../../secrets/edison/edison.yaml;
environment.variables = { EDITOR = "vim"; }; environment.variables = { EDITOR = "vim"; };
# environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# ]; pavucontrol
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"nvidia-x11" "nvidia-x11"

View File

@ -3,11 +3,16 @@
services.xserver = { services.xserver = {
enable = true; enable = true;
desktopManager.xfce.enable = true; desktopManager.xfce.enable = true;
#displayManager.ly.enable = true;
videoDrivers = [ "nvidia" ]; videoDrivers = [ "nvidia" ];
}; };
services.picom.enable = true; services.picom.enable = true;
hardware.opengl.enable = true; hardware.opengl.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
jack.enable = true;
};
fonts = { fonts = {
fontDir.enable = true; fontDir.enable = true;