fix(nixos): Don't install audio/printing drivers on servers

This commit is contained in:
punkfairie 2025-02-17 20:23:57 -08:00
parent e9cd013911
commit 5d45bfd4b0
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6

View file

@ -1,4 +1,10 @@
{pkgs, ...}: {
{
pkgs,
config,
lib,
...
}: {
config = lib.mkIf (!config.marleyos.isServer) {
security.rtkit.enable = true; # Used for pulseaudio.
services = {
@ -14,4 +20,5 @@
};
environment.systemPackages = [pkgs.pwvucontrol];
};
}