nixos/xserver: fix extraLayouts with displayManager.sx.enable
This commit is contained in:
parent
82d19cb068
commit
9c82ab55b1
@ -34,4 +34,6 @@ in {
|
|||||||
};
|
};
|
||||||
systemd.services.display-manager.enable = false;
|
systemd.services.display-manager.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
meta.maintainers = with maintainers; [ figsoda ];
|
||||||
}
|
}
|
||||||
|
@ -166,7 +166,8 @@ in
|
|||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
xkbDir = "${pkgs.xkb_patched}/etc/X11/xkb";
|
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;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user