I started to use nixos-generators but the image I create is 2.9G! I am only configuring a ‘nixos’ user and I enable openssh, nothing more than that. Do you know if I have to disable something or if there is some documentation on how to create minimal images. I am trying to create an image for proxmox, I am using the raw format (-f raw).
This seems to answer to my question: https://youtu.be/-G8mN6HJSZE?si=hcaKoxEpArCwDYUH
By including nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix at 847a9f1bdd10064e4d9dd1140fc8a0eef21dd4f8 · NixOS/nixpkgs · GitHub in a configuration.nix for the nixos-generators I should get a minimal image.