Why?

Why? Satisfactory and Docker.

Disclaimer

AI helped in this initiative.

Steps

  1. df -hT gives my disk usage (and filesystem type)
  2. Use Proxmox GUI
    1. Shutdown VM
    2. Click HDD, then choose “Resize Disk”
    3. Boot up brother
  3. And then (I use ext4):
lsblk
sudo nix-shell -p cloud-utils
growpart /dev/sda 1
lsblk
resize2fs /dev/sda

I updated my server template too for future recreations:

Aside

I noticed my hardware-configuration.nix was gone from my git repo. Not sure when/how that happened. This brought it back:

nixos-generate-config --show-hardware-config > hardware-configuration.nix

Also, somehow it knew about my mapped folder that I pass in from Proxmox. I didn’t research how it knew, but glad it worked.

Aside Two

I wanted to see disk usage in Proxmox. I saw there was: https://pve.proxmox.com/wiki/Qemu-guest-agent.

This guy from 2020 seemingly had it figured out to add it to NixOS: https://discourse.nixos.org/t/adding-qemu-guest-agent-to-a-nixos-vm/5931/2

services.qemuGuest.enable = true;

Nothing changed in Proxmox. I don’t care why right now.