NixOS Network Installation with nixos-anywhere: A Declarative Approach

2025-06-01
NixOS Network Installation with nixos-anywhere: A Declarative Approach

After a decade-long hiatus, the author revisits NixOS and shares their experience with network installation using nixos-anywhere. Unlike graphical or manual methods, nixos-anywhere allows declarative configuration and installation of NixOS on remote machines. Configuration files are version-controlled, ensuring reproducibility and system integrity. The article details building a custom installer ISO and using nixos-anywhere for remote installation, highlighting the benefits of NixOS's declarative configuration and version control.

Read more

Automating My 8K Monitor Setup with Grobi

2025-05-10

The author uses a Dell 32-inch 8K monitor and encountered configuration issues after waking up the computer from sleep. Previously, manual SSH connection and running xrandr commands were necessary. Now, the author uses the Grobi program to automate the monitor configuration, solving this problem. Grobi listens for X11 RandR output change events and automatically runs xrandr to configure resolution and positioning. Additionally, the author uses the zleep program and a myStrom smart plug to control the monitor's power, saving energy.

Read more