fix(nixos): Don't install audio/printing drivers on servers
This commit is contained in:
parent
e9cd013911
commit
5d45bfd4b0
1 changed files with 18 additions and 11 deletions
|
@ -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];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue