15 lines
326 B
Nix
15 lines
326 B
Nix
{ pkgs, lib, config, ...}: let
|
|
inherit (lib) attrValues;
|
|
in {
|
|
environment.systemPackages = attrValues {
|
|
inherit (pkgs)
|
|
pipewire
|
|
pwvucontrol
|
|
wireplumber
|
|
playerctl;
|
|
} ++ (if (!config.isServer) then (attrValues {
|
|
inherit (pkgs) protonup-qt
|
|
xsane
|
|
simple-scan;
|
|
}) else []);
|
|
}
|