nixos-generators icon indicating copy to clipboard operation
nixos-generators copied to clipboard

network access in build environment

Open brettmilford opened this issue 2 years ago • 1 comments

Flake which builds to a qcow2 image successfully but some elements are missing. In particular a home-manager onChange script which performs a git clone doesn't work.

Sep 14 12:40:49 dev hm-activate-brett[607]: Activating onFilesChange
Sep 14 12:40:49 dev hm-activate-brett[936]: Cloning into '/home/brett/.config/emacs'...
Sep 14 12:40:49 dev hm-activate-brett[938]: fatal: unable to access 'https://github.com/doomemacs/doomemacs.git/': Could not resolve host: github.com

Is this expected? Possibly also related to #273.

brettmilford avatar Sep 14 '23 02:09 brettmilford

when does this step run? is it when you start the image inside a vm?

Lassulus avatar Sep 14 '23 09:09 Lassulus