0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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;
};
};