Don't disable D-Bus if environment.noXlibs is set

D-Bus cannot be disabled since systemd/logind depend on it.
This commit is contained in:
Eelco Dolstra 2013-10-01 14:45:20 +02:00
parent ed5fbf0082
commit c9b4e6fda2

View File

@ -1,4 +1,4 @@
{pkgs, config, ...}:
{ config, pkgs, ... }:
{
options = {
@ -12,11 +12,9 @@
'';
};
};
config = pkgs.lib.mkIf config.environment.noXlibs {
programs.ssh.setXAuthLocation = false;
services = {
dbus.enable = false;
};
fonts = {
enableCoreFonts = false;
enableFontConfig = false;