Inspiration from https://gitlab.aliens-lyon.fr/AliENS/infrastructure ## Make a disk image From another linux system, create the build script `nix build .#nixosConfigurations.midori.config.system.build.diskoImagesScript` Write your disk password to somewhere, like /tmp/secret.key, then build the image calling the result: `./result --build-memory 8192 --pre-format-files /tmp/secret.key secret.key`