Files
nix/hosts/elara/README.md
Nikolaos Karaolidis a3f6127cf8 Add cgroup v2 note
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-08-19 11:08:41 +00:00

18 lines
778 B
Markdown

# elara
## Private Repositories
This host uses private SAS repositories. You can find the imports for these in:
You must build the system once with `sas.build.private = false;`. Then, connect to the SAS VPN, and rebuild the system.
## Installation Instructions
1. Using a separate Nix system, run `hosts/elara/build-tarball.sh`
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. 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