config-new/modules/linux/packages.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 []);
}