mirror of
https://github.com/nix-community/NixOS-WSL.git
synced 2026-11-07 14:59:35 +00:00
Only include wslpath derivation on syschdemd
This commit is contained in:
@@ -65,12 +65,6 @@ in
|
||||
hardware.opengl.enable = true; # Enable GPU acceleration
|
||||
|
||||
environment = {
|
||||
systemPackages = [
|
||||
(pkgs.runCommand "wslpath" { } ''
|
||||
mkdir -p $out/bin
|
||||
ln -s /init $out/bin/wslpath
|
||||
'')
|
||||
];
|
||||
# Only set the options if the files are managed by WSL
|
||||
etc = mkMerge [
|
||||
(mkIf config.wsl.wslConf.network.generateHosts {
|
||||
|
||||
Reference in New Issue
Block a user