Our great sponsors
-
nixos-offline-installer
Create USB sticks that perform a full offline installation of any NixOS configuration.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I tried building an offline installer with https://github.com/tfc/nixos-offline-installer and managed to make it work by some tiny modification. However, when I tried switching over to flake, it seems that flake evaluation requires network for its input and will exit with error when I disable the network. I only managed to copy every dependencies (perhaps related to https://github.com/NixOS/nix/issues/4250) and hardcode the hardware configurations which is not nice. I wonder if anyone else tried this and have any suggestion. My current prototype is this: https://github.com/pca006132/dotfiles/blob/master/installer-configuration.nix
I tried building an offline installer with https://github.com/tfc/nixos-offline-installer and managed to make it work by some tiny modification. However, when I tried switching over to flake, it seems that flake evaluation requires network for its input and will exit with error when I disable the network. I only managed to copy every dependencies (perhaps related to https://github.com/NixOS/nix/issues/4250) and hardcode the hardware configurations which is not nice. I wonder if anyone else tried this and have any suggestion. My current prototype is this: https://github.com/pca006132/dotfiles/blob/master/installer-configuration.nix
I tried building an offline installer with https://github.com/tfc/nixos-offline-installer and managed to make it work by some tiny modification. However, when I tried switching over to flake, it seems that flake evaluation requires network for its input and will exit with error when I disable the network. I only managed to copy every dependencies (perhaps related to https://github.com/NixOS/nix/issues/4250) and hardcode the hardware configurations which is not nice. I wonder if anyone else tried this and have any suggestion. My current prototype is this: https://github.com/pca006132/dotfiles/blob/master/installer-configuration.nix
this works for me