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:
parent
ed5fbf0082
commit
c9b4e6fda2
@ -1,4 +1,4 @@
|
|||||||
{pkgs, config, ...}:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
@ -12,11 +12,9 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = pkgs.lib.mkIf config.environment.noXlibs {
|
config = pkgs.lib.mkIf config.environment.noXlibs {
|
||||||
programs.ssh.setXAuthLocation = false;
|
programs.ssh.setXAuthLocation = false;
|
||||||
services = {
|
|
||||||
dbus.enable = false;
|
|
||||||
};
|
|
||||||
fonts = {
|
fonts = {
|
||||||
enableCoreFonts = false;
|
enableCoreFonts = false;
|
||||||
enableFontConfig = false;
|
enableFontConfig = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user