Uploaded March 2025 | Updated September 2026, 2 weeks ago
How To Install NixOS On Proxmox
NixOS is a declarative, reproducible, and atomic Linux distribution built around the Nix package manager. Unlike traditional Linux distributions, where system configuration is managed through manual changes and package installations, NixOS uses a declarative configuration file to define the entire system.
Why Use NixOS?
1️⃣ Declarative Configuration
Instead of manually installing packages and configuring settings, you define your system in /etc/nixos/configuration.nix.
2️⃣ Reproducibility & Rollbacks
Every system state is fully reproducible. You can set up a new machine exactly like the old one just by copying the configuration.
3️⃣ Atomic & Reliable Upgrades
Changes are applied atomically, meaning your system is never in an inconsistent state.
4️⃣ The Nix Package Manager
NixOS uses the Nix package manager, which allows you to install multiple versions of the same package without conflicts.
5️⃣ Stateless & Modular
Your system state is stored in a single configuration file, making it easy to back up and version control.
In this videos we gonna learn how to install NixOS with a minimal setup on Proxmox! This step-by-step guide covers everything from VM creation to post-install configuration.
Topics covered:
✅ Introduction
✅ Creating the Proxmox VM
✅ Configuring UEFI & Disk Setup
✅ Booting into NixOS Live ISO
✅ Partitioning & Formatting the Disk
✅ Installing & Configuring NixOS
✅ Setting Up the Bootloader
✅ First Boot & Final Tweaks
📌 Create partitions:
parted /dev/sda -- mklabel gpt
parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
parted /dev/sda -- set 1 esp on
parted /dev/sda -- mkpart primary ext4 512MiB 100%
📌 Format partitions:
mkfs.fat -F 32 /dev/sda1
mkfs.ext4 /dev/sda2
📌 Mount partitions:
mount /dev/sda2 /mnt
mkdir -p /mnt/boot
mount /dev/sda1 /mnt/boot
📌 Install NixOS:
nixos-generate-config --root /mnt
nano /mnt/etc/nixos/configuration.nix
nixos-install
reboot
Resources & Links:
nixos.org/manual/nixos/stable
nixos.org
proxmox.com/en
🌸 Buy me a coffee :
buymeacoffee.com/liv4it
🌸 Support channel & make donation :
paypal.me/aminenina/10
🌸 Subscribe for more videos :
Youtube: youtube.com/user/aminosninatos
🌸 Follow me On Social Media
Facebook : facebook.com/aminosninatos
***********************************************************************
🌸 How To Use The Awesome Linux Bat Command
youtu.be/N50jo1gat7M
🌸 Windows Subsystem for Linux WSL2 Commands
youtu.be/mO3Cqb9zYPM
🌸 This Little Trick Will Prevent You From Messing Up With Your Application Database
youtu.be/BdFo21oxKgw
🌸 PIP The Package Manager for Python
youtu.be/aO7o2fMKWx0
🌸 How to read Crystal Disk Info
youtu.be/N3tUXypxNYk
🌸 How To Monitor the Health of Your Hard Drive in Linux using SMART
https://www.youtube.com/watch?v=z1z9R...
🌸 Linux iotop: Monitor your disk Input/Output
https://www.youtube.com/watch?v=pWG4v...
🌸 How To use the “du” (Disk Usage) Command in Linux
https://www.youtube.com/watch?v=RA4bM...
🌸 How To Install And Configure CrowdSec on pfSense
youtu.be/p4sAHjtboMI
🌸 How to Install And Configure pfBlockerNG On pfSense
youtu.be/AGOcaKijLu4
🌸 How To Enable Automatic Backups In pfSense
youtu.be/mFMKqUvPJFw
🌸 How To Apply System Patches For pfSense CE (Community Edition)
youtu.be/qs4sRnNdpYY
🌸 How To Setup VLANs on pfSense In Proxmox
youtu.be/EpFQD-HtwXk
🌸 How To Install QEMU Guest Agent On pfSense VM In Proxmox
youtu.be/c88-byEL7UM
🌸 How To Passthrough Physical Network Cards NIC to VM like pfSense in Proxmox
youtu.be/kmd4l66Tr2g
🌸 How To Create a Simple Workflow On n8n World's Most Popular Automation Platform
youtu.be/zhxycn-rr1g
🌸 How to Create Google Credentials On The world's most popular workflow automation platform n8n
youtu.be/YfXT5h93CKo
🌸How To Install The world's most popular workflow automation platform n8n On Proxmox
youtu.be/J1cpJRuTHwE
🌸How To Setup Notifications On Uptime Kuma a Self Hosted Monitoring Application
youtu.be/Cp-rAatifMk
🌸How To Install Uptime Kuma a Self Hosted Monitoring Application on Proxmox
youtu.be/cCxgkHd0E9Y
🌸How To Install Vyos an Amazing Open Source Router On Proxmox
youtu.be/dscAQIoDU7w
🌸How To Install an SSL Certificate on Proxmox
youtu.be/lCkrsaDEiT4
🌸 How To Lower The Power Use of Proxmox Server
youtu.be/FJiEeHmiiH0
🌸How To Setup a Local Git Server on Proxmox
youtu.be/yeE74Q3ZGMg
🌸Proxmox Create a Firewall Rule Template
youtu.be/9rKA1KPFtS0
🌸How to Configure the Firewall on Proxmox
youtu.be/SnjBjU9irtg
🌸 How To Install Packages on Proxmox VM with Terraform
youtu.be/RRJrLTeU67Y
***********************************************************************
#NixOS #proxmox #linux
How To Install NixOS On Proxmox
NixOS is a declarative, reproducible, and atomic Linux distribution built around the Nix package manager. Unlike traditional Linux distributions, where system configuration is managed through manual changes and package installations, NixOS uses a declarative configuration file to define the entire system.
Why Use NixOS?
1️⃣ Declarative Configuration
Instead of manually installing packages and configuring settings, you define your system in /etc/nixos/configuration.nix.
2️⃣ Reproducibility & Rollbacks
Every system state is fully reproducible. You can set up a new machine exactly like the old one just by copying the configuration.
3️⃣ Atomic & Reliable Upgrades
Changes are applied atomically, meaning your system is never in an inconsistent state.
4️⃣ The Nix Package Manager
NixOS uses the Nix package manager, which allows you to install multiple versions of the same package without conflicts.
5️⃣ Stateless & Modular
Your system state is stored in a single configuration file, making it easy to back up and version control.
In this videos we gonna learn how to install NixOS with a minimal setup on Proxmox! This step-by-step guide covers everything from VM creation to post-install configuration.
Topics covered:
✅ Introduction
✅ Creating the Proxmox VM
✅ Configuring UEFI & Disk Setup
✅ Booting into NixOS Live ISO
✅ Partitioning & Formatting the Disk
✅ Installing & Configuring NixOS
✅ Setting Up the Bootloader
✅ First Boot & Final Tweaks
📌 Create partitions:
parted /dev/sda -- mklabel gpt
parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
parted /dev/sda -- set 1 esp on
parted /dev/sda -- mkpart primary ext4 512MiB 100%
📌 Format partitions:
mkfs.fat -F 32 /dev/sda1
mkfs.ext4 /dev/sda2
📌 Mount partitions:
mount /dev/sda2 /mnt
mkdir -p /mnt/boot
mount /dev/sda1 /mnt/boot
📌 Install NixOS:
nixos-generate-config --root /mnt
nano /mnt/etc/nixos/configuration.nix
nixos-install
reboot
Resources & Links:
nixos.org/manual/nixos/stable
nixos.org
proxmox.com/en
🌸 Buy me a coffee :
buymeacoffee.com/liv4it
🌸 Support channel & make donation :
paypal.me/aminenina/10
🌸 Subscribe for more videos :
Youtube: youtube.com/user/aminosninatos
🌸 Follow me On Social Media
Facebook : facebook.com/aminosninatos
***********************************************************************
🌸 How To Use The Awesome Linux Bat Command
youtu.be/N50jo1gat7M
🌸 Windows Subsystem for Linux WSL2 Commands
youtu.be/mO3Cqb9zYPM
🌸 This Little Trick Will Prevent You From Messing Up With Your Application Database
youtu.be/BdFo21oxKgw
🌸 PIP The Package Manager for Python
youtu.be/aO7o2fMKWx0
🌸 How to read Crystal Disk Info
youtu.be/N3tUXypxNYk
🌸 How To Monitor the Health of Your Hard Drive in Linux using SMART
https://www.youtube.com/watch?v=z1z9R...
🌸 Linux iotop: Monitor your disk Input/Output
https://www.youtube.com/watch?v=pWG4v...
🌸 How To use the “du” (Disk Usage) Command in Linux
https://www.youtube.com/watch?v=RA4bM...
🌸 How To Install And Configure CrowdSec on pfSense
youtu.be/p4sAHjtboMI
🌸 How to Install And Configure pfBlockerNG On pfSense
youtu.be/AGOcaKijLu4
🌸 How To Enable Automatic Backups In pfSense
youtu.be/mFMKqUvPJFw
🌸 How To Apply System Patches For pfSense CE (Community Edition)
youtu.be/qs4sRnNdpYY
🌸 How To Setup VLANs on pfSense In Proxmox
youtu.be/EpFQD-HtwXk
🌸 How To Install QEMU Guest Agent On pfSense VM In Proxmox
youtu.be/c88-byEL7UM
🌸 How To Passthrough Physical Network Cards NIC to VM like pfSense in Proxmox
youtu.be/kmd4l66Tr2g
🌸 How To Create a Simple Workflow On n8n World's Most Popular Automation Platform
youtu.be/zhxycn-rr1g
🌸 How to Create Google Credentials On The world's most popular workflow automation platform n8n
youtu.be/YfXT5h93CKo
🌸How To Install The world's most popular workflow automation platform n8n On Proxmox
youtu.be/J1cpJRuTHwE
🌸How To Setup Notifications On Uptime Kuma a Self Hosted Monitoring Application
youtu.be/Cp-rAatifMk
🌸How To Install Uptime Kuma a Self Hosted Monitoring Application on Proxmox
youtu.be/cCxgkHd0E9Y
🌸How To Install Vyos an Amazing Open Source Router On Proxmox
youtu.be/dscAQIoDU7w
🌸How To Install an SSL Certificate on Proxmox
youtu.be/lCkrsaDEiT4
🌸 How To Lower The Power Use of Proxmox Server
youtu.be/FJiEeHmiiH0
🌸How To Setup a Local Git Server on Proxmox
youtu.be/yeE74Q3ZGMg
🌸Proxmox Create a Firewall Rule Template
youtu.be/9rKA1KPFtS0
🌸How to Configure the Firewall on Proxmox
youtu.be/SnjBjU9irtg
🌸 How To Install Packages on Proxmox VM with Terraform
youtu.be/RRJrLTeU67Y
***********************************************************************
#NixOS #proxmox #linux










![How To Configure Basic Settings for NixOS
How To Configure Basic Settings for NixOS
NixOS is a declarative, reproducible, and immutable Linux distribution built around the Nix package manager. Unlike traditional Linux distributions, where system configurations are managed imperatively (by editing files manually), NixOS uses a single configuration file (/etc/nixos/configuration.nix) to define the entire system state.
This makes NixOS ideal for servers, home labs, and developers who want a consistent, reproducible environment.
🔹 Key Features of NixOS
📜 Declarative Configuration – All settings are defined in configuration.nix.
♻️ Rollback Support – Easily revert changes using generation-based system management.
📦 Atomic Upgrades – No partial upgrades; everything is built as a complete system.
🔄 Reproducibility – Identical configurations produce identical results on any machine.
🚀 Flexible Package Management – Supports multiple package versions using Nix.
Basic Configuration in NixOS
Since you are running NixOS as a VM in Proxmox with UEFI and Hyprland, here’s how to configure basic settings like a static IP and installing QEMU guest agent.
1️⃣ Configure a Static IP Address
NixOS manages networking declaratively via configuration.nix.
Steps to Set a Static IP:
Open the configuration file:
sudo nano /etc/nixos/configuration.nix
Add or modify the networking section:
networking = {
useDHCP = false;
interfaces.enp0s18 = {
ipv4.addresses = [
{
address = 192.168.1.100; # Change to your desired IP
prefixLength = 24;
}
];
ipv4.routes = [
{
address = 0.0.0.0;
prefixLength = 0;
via = 192.168.1.1; # Replace with your gateway/router IP
}
];
};
};
Replace enp0s18 with your actual network interface (find it with ip a).
Update the IP, subnet, and gateway based on your network.
Apply the changes:
sudo nixos-rebuild switch
Verify with:
ip a
2️⃣ Install and Enable QEMU Guest Agent
Since you’re running NixOS in Proxmox, you should install the QEMU guest agent to enable features like proper shutdown, memory ballooning, and IP reporting.
Steps to Install and Enable QEMU Guest Agent:
Edit configuration.nix:
sudo nano /etc/nixos/configuration.nix
Add the following under services:
services.qemuGuest.enable = true;
Apply the changes:
sudo nixos-rebuild switch
Check if the guest agent is running:
systemctl status qemu-guest-agent
Resources & Links:
https://nixos.org/manual/nixos/stable/
https://nixos.org/
https://www.proxmox.com/en/
🌸 Buy me a coffee :
https://buymeacoffee.com/liv4it
🌸 Support channel & make donation :
https://www.paypal.me/aminenina/10
🌸 Subscribe for more videos :
Youtube: https://www.youtube.com/user/aminosninatos
🌸 Follow me On Social Media
Facebook : https://www.facebook.com/aminosninatos/
***********************************************************************
🌸 How To Install NixOS On Proxmox
https://youtu.be/KRrwJkb1xpk
🌸 How To Install & Configure Technitium DNS Server on Proxmox
https://youtu.be/m3lNqy3HAvA
🌸 How To Use The Awesome Linux Bat Command
https://youtu.be/N50jo1gat7M
🌸 Windows Subsystem for Linux WSL2 Commands
https://youtu.be/mO3Cqb9zYPM
🌸 This Little Trick Will Prevent You From Messing Up With Your Application Database
https://youtu.be/BdFo21oxKgw
🌸 PIP The Package Manager for Python
https://youtu.be/aO7o2fMKWx0
🌸 How to read Crystal Disk Info
https://youtu.be/N3tUXypxNYk
🌸 How To Monitor the Health of Your Hard Drive in Linux using SMART
https://www.youtube.com/watch?v=z1z9R...
🌸 Linux iotop: Monitor your disk Input/Output
https://www.youtube.com/watch?v=pWG4v...
🌸 How To use the “du” (Disk Usage) Command in Linux
https://www.youtube.com/watch?v=RA4bM...
🌸 How To Install And Configure CrowdSec on pfSense
https://youtu.be/p4sAHjtboMI
🌸 How to Install And Configure pfBlockerNG On pfSense
https://youtu.be/AGOcaKijLu4
🌸 How To Enable Automatic Backups In pfSense
https://youtu.be/mFMKqUvPJFw
🌸 How To Apply System Patches For pfSense CE (Community Edition)
https://youtu.be/qs4sRnNdpYY
🌸 How To Setup VLANs on pfSense In Proxmox
https://youtu.be/EpFQD-HtwXk
🌸 How To Install QEMU Guest Agent On pfSense VM In Proxmox
https://youtu.be/c88-byEL7UM
🌸How To Install The worlds most popular workflow automation platform n8n On Proxmox
https://youtu.be/J1cpJRuTHwE
🌸How To Setup Notifications On Uptime Kuma a Self Hosted Monitoring Application
https://youtu.be/Cp-rAatifMk
🌸How To Install Uptime Kuma a Self Hosted Monitoring Application on Proxmox
https://youtu.be/cCxgkHd0E9Y
🌸How To Install Vyos an Amazing Open Source Router On Proxmox
https://youtu.be/dscAQIoDU7w
🌸How To Install an SSL Certificate on Proxmox
https://youtu.be/lCkrsaDEiT4
🌸 How To Lower The Power Use of Proxmox Server
https://youtu.be/FJiEeHmiiH0
🌸 How To Install Packages on Proxmox VM with Terraform
https://youtu.be/RRJrLTeU67Y
***********************************************************************
#NixOS #proxmox #linux How To Configure Basic Settings for NixOS](https://i.ytimg.com/vi/N4TrEy_A0No/mqdefault.jpg)