Add cgroup v2 note

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-08-19 11:08:41 +00:00
parent af53af5630
commit a3f6127cf8

View File

@@ -12,5 +12,6 @@ You must build the system once with `sas.build.private = false;`. Then, connect
2. Copy the generated tarball to the Elara host
3. On the Elara host, run `wsl --import NixOS $env:USERPROFILE\NixOS nixos.wsl --version 2` in PowerShell
4. `chown` your home directory to your user
5. Restart WSL with `wsl --shutdown`
6. Optionally, run `wsl --set-default nixos` to make NixOS the default WSL distribution
5. Stop WSL with `wsl --shutdown`
6. Enable `cgroup v2` support by setting `kernelCommandLine=cgroup_no_v1=all` in `.wslconfig` in your Windows home directory
7. Optionally, run `wsl --set-default nixos` to make NixOS the default WSL distribution