nixos/xserver: fix extraLayouts with displayManager.sx.enable

This commit is contained in:
figsoda 2021-09-07 18:57:37 -04:00
parent 82d19cb068
commit 9c82ab55b1
2 changed files with 4 additions and 1 deletions

View File

@ -34,4 +34,6 @@ in {
};
systemd.services.display-manager.enable = false;
};
meta.maintainers = with maintainers; [ figsoda ];
}

View File

@ -166,7 +166,8 @@ in
services.xserver = {
xkbDir = "${pkgs.xkb_patched}/etc/X11/xkb";
exportConfiguration = config.services.xserver.displayManager.startx.enable;
exportConfiguration = config.services.xserver.displayManager.startx.enable
|| config.services.xserver.displayManager.sx.enable;
};
};