Uploaded March 2025 | Updated November 2026, 3 hours ago
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:
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 Install NixOS On Proxmox
youtu.be/KRrwJkb1xpk
๐ธ How To Install & Configure Technitium DNS Server on Proxmox
youtu.be/m3lNqy3HAvA
๐ธ 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 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 Install Packages on Proxmox VM with Terraform
youtu.be/RRJrLTeU67Y
***********************************************************************
#NixOS #proxmox #linux
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:
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 Install NixOS On Proxmox
youtu.be/KRrwJkb1xpk
๐ธ How To Install & Configure Technitium DNS Server on Proxmox
youtu.be/m3lNqy3HAvA
๐ธ 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 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 Install Packages on Proxmox VM with Terraform
youtu.be/RRJrLTeU67Y
***********************************************************************
#NixOS #proxmox #linux









![Troubleshooting Proxmox using Command Line Tools
Troubleshooting Proxmox using Command Line Tools
In this video, we will look at various command line utilities to troubleshoot Proxmox .
There will come times when certain operations in the GUI fail or a guest becomes non-responsive. You might want to shut down a guest, but it is not responding to your triggers. In cases like these, you should use the command line tools for Proxmox.
To enter the command line, you can either SSH or log in via the web console and enter a shell.
VM Management
qm is the command line tool to manage VMs.
Show all available commands
- qm help
List all the VMs on the node
- qm list
Show the status of a VM
- qm status [vm ID number]
Start a VM
- qm start [vm ID number]
Force a VM to stop
- qm shutdown [vm ID number] forceStop 1 timeout 1
Create a VM from the command line
- qm create [options here]
Completely destroy and remove a VM
- qm destroy [vm ID number] destroy-unreferenced-disks purge
๐ธ 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 Check Bad Blocks Or Bad Sectors On a Hard Disk In Linux
https://www.youtube.com/watch?v=jE-I9...
๐ธ Linux How To Partition a Hard Drive Using the Parted Command
https://www.youtube.com/watch?v=2IoEW...
๐ธ Checking or Repairing a File System using fsck in Linux
https://www.youtube.com/watch?v=CcV_M...
๐ธ 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 View Manipulate System Logs In Linux Using Journalctl Command
https://www.youtube.com/watch?v=NE-fT-Fwvgw&t=3s
๐ธ How To Sync And Backup Files In Linux Using Rsync Command
https://www.youtube.com/watch?v=aIMbg7vG6Rg&t=10s
๐ธ Linux cURL Command Tips and Tricks
https://www.youtube.com/watch?v=hA3BAALWFJI
๐ธ Linux tail and multitail commands
https://www.youtube.com/watch?v=QnPyWNyCn-U
๐ธ Linux How To view Log Files
https://www.youtube.com/watch?v=CEYhs_9L01M&t=2s
๐ธ How To use the History Command On Linux
https://www.youtube.com/watch?v=RkxIWlypB-s
๐ธ Tips and Tricks How To manipulate Text Files on Linux
https://www.youtube.com/watch?v=Zk9M1w55XO0
๐ธ How to Archive, Compress and Extract Files Using the tar Command on Linux
https://www.youtube.com/watch?v=8j-ZzOfbclM&t=2s
๐ธ Linux - How to split larger files into smaller parts
https://www.youtube.com/watch?v=DaC5AWjmQXk
๐ธ Linux commands : Top
https://www.youtube.com/watch?v=RM7ck63mcHQ
***********************************************************************
#PVE #virtualization #Proxmox Troubleshooting Proxmox using Command Line Tools](https://i.ytimg.com/vi/RH8mlE-YXGY/mqdefault.jpg)
