How to Install Proxmox VE on nixOS Latest

Proxmox Virtual Environment (VE) is an open-source virtualization management platform that enables the creation and management of virtual machines and virtual containers. It is based on Debian and provides a web-based graphical user interface for easy management of virtualization resources. In this tutorial, we will show you how to install Proxmox VE on nixOS latest.

Prerequisites

Before beginning with the installation process, ensure that you have the following prerequisites:

  • A system running nixOS latest
  • Root access or user account with sudo privileges
  • Sufficient storage capacity and hardware resources

Step 1 - Update System and Install Proxmox VE

The first step is to update the system and install Proxmox VE using the following commands:

sudo nix-env -iA nixos.proxmox_ve

This command will install Proxmox VE packages on your nixOS latest system.

Step 2 - Configure the Network

The next step is to configure the network settings on your system. You need to modify the /etc/network/interfaces file and add the following lines:

auto lo
iface lo inet loopback
auto eno1
iface eno1 inet static
address YOUR_IP_ADDRESS
netmask YOUR_NETMASK
gateway YOUR_GATEWAY

Replace YOUR_IP_ADDRESS, YOUR_NETMASK, and YOUR_GATEWAY with your actual network configuration details.

Save and close the file.

Step 3 - Start Proxmox VE

Now start the Proxmox VE service on your nixOS latest system using the following command:

sudo systemctl start pveproxy

This command will start the Proxmox VE service on your system.

Step 4 - Access Proxmox VE Web Interface

Open your web browser and navigate to https://YOUR_SERVER_IP:8006. This will open the Proxmox VE web interface.

Log in with your root credentials, and you will be directed to the Proxmox VE dashboard.

Conclusion

That's it! You have successfully installed Proxmox VE on your nixOS latest system. You can now use the web interface to create, manage and monitor your virtual machines and containers.