Hi all,
I am a newcomer to Nix and NixOS and like it so much I would like to use it on as many devices, containers and VMs as possible. From what I’ve seen so far it seems that people approach this by creating a Git repository with shared configuration files for every host and then clone this repository to every host and link its particular configuration.nix to /etc/nixos/configuration.nix.
However this approach means that every host has access to configuration for every other host in the repository which is an information leak I would like to avoid. Would it be possible to have the repository on just one dedicated and secured device and generate configuration files for other hosts there? Or in other words is it possible to save evaluated configuration to a file so that it can be transferred to the host its meant for without all the other files imported from the repo?
Thank you,
Martin