Skip to content

Commit 63c1247

Browse files
Add option to disable error about ldconfig (#443)
1 parent fc58f5c commit 63c1247

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/wsl-conf.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ with lib; {
1414
default = true;
1515
description = "Automatically mount windows drives under ${config.wsl.wslConf.automount.root}";
1616
};
17+
ldconfig = mkOption {
18+
type = bool;
19+
default = false;
20+
description = ''
21+
Wether to modify `/etc/ld.so.conf.d/ld.wsl.conf` to load OpenGL drivers provided by the Windows host in `/usr/lib/wsl/lib` with `/sbin/ldconfig`.
22+
This way of providing OpenGL drivers does not work with NixOS and `wsl.useWindowsDriver` should be used instead.
23+
'';
24+
};
1725
mountFsTab = mkOption {
1826
type = bool;
1927
default = false;

0 commit comments

Comments
 (0)