NixOS Container¶
Setting up a basic nixos container within proxmox, and optionally configuring docker.
Resources¶
How To¶
- Download the container template in proxmox by following the instructions on the wiki
- Create the CT using the new template and start the container
- The password you set in the proxmox webui doesn't work, so change the password doing the following in the proxmox shell (not the container shell) Then enter your new password.
- Create your configuration.nix
- Paste in the configuration found on the nixos wiki.
- Rebuild the configuration
Optionally Install Docker¶
- Create a docker.nix file alongside your configuration
- Paste in the following basic config
- Rebuild the config
nixos-rebuild switch --upgrade