21 lines
697 B
Markdown
21 lines
697 B
Markdown
|
# NixOS Proxmox LXC Container Configuration
|
||
|
|
||
|
Quickly configure a NixOS LXC container in Proxmox with custom IP address and SSH key settings.
|
||
|
|
||
|
## One-Line Installation
|
||
|
|
||
|
```bash
|
||
|
curl -sSf https://git.jeirslab.xyz/jeirmeister/NixOS-PVE-LXC/raw/branch/main/config-lxc.sh | bash
|
||
|
```
|
||
|
|
||
|
The script will:
|
||
|
- Prompt for container ID (100-999)
|
||
|
- Request your SSH public key
|
||
|
- Ask for IP address and gateway
|
||
|
- Configure the container with these settings
|
||
|
- Apply the configuration automatically
|
||
|
|
||
|
**Note**: Always verify scripts before running them with curl. You can inspect the source at the repository first.
|
||
|
|
||
|
Citations:
|
||
|
[1] https://git.jeirslab.xyz/jeirmeister/NixOS-PVE-LXC/raw/branch/main/configuration.nix
|