nixos-generators
nixos-generators copied to clipboard
Allow us to define files to be copied into the image
I think this would be a great feature, if you need to bring some files along, that are not part of any nix package. It could also be used to mitigate the limitations of #42 or NixOS/nixpkgs#67475 .
Or is there already anyway to do that?
hmm, one could do:
environment.etc."hello_world".source = /path/to/my/file;
it's limited to files in /etc/ though
While this might be a solution to provision the configuration.nix + dependencies, it’s limited to files I think and as you said to /etc . But still, better then nothing.