[pve-devel] applied: [PATCH v2 container 1/1] Setup: add NixOS support

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Feb 17 08:06:37 CET 2022


On 15.02.22 18:28, Harikrishnan R wrote:
> Distro detection is done through the presence of a /nix folder.
> NixOS typically uses a script-based network configuration system
> that isn't easy to configure from the outside. LXC templates
> generated for proxmox are instead expected to use systemd-networkd.
> 
> Signed-off-by: Harikrishnan R <rharikrishnan95 at gmail.com>
> ---
>  src/PVE/LXC/Config.pm      |  2 +-
>  src/PVE/LXC/Setup.pm       |  4 ++++
>  src/PVE/LXC/Setup/Makefile |  1 +
>  src/PVE/LXC/Setup/NixOS.pm | 44 ++++++++++++++++++++++++++++++++++++++
>  4 files changed, 50 insertions(+), 1 deletion(-)
>  create mode 100644 src/PVE/LXC/Setup/NixOS.pm
> 
>

applied, thanks! I updated/reworded the commit message slightly though, e.g.,
it still referred to only checking for /nix as done in v1.





More information about the pve-devel mailing list