fix(fuji-wsl): opengl stuff
This commit is contained in:
parent
689441b224
commit
07e2e8ca94
3 changed files with 18 additions and 3 deletions
|
@ -1,4 +1,8 @@
|
|||
{config, ...}: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../programs/rust.nix
|
||||
];
|
||||
|
@ -7,9 +11,21 @@
|
|||
enable = true;
|
||||
defaultUser = "leo";
|
||||
nativeSystemd = true;
|
||||
# useWindowsDriver = true;
|
||||
wslConf.network = {
|
||||
hostname = config.networking.hostName;
|
||||
generateResolvConf = false;
|
||||
};
|
||||
};
|
||||
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
setLdLibraryPath = true;
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
mesa.drivers
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue