From 9fdcab753b46119c4bad3be43b8b15e2199a4c42 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Sat, 17 Aug 2024 09:35:16 -0400 Subject: [PATCH] nixos: revert to non-incus image for unstable container The incus-specific container image is not yet ready Signed-off-by: Adam Stephens --- images/nixos.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/images/nixos.yaml b/images/nixos.yaml index 55662e94..e79ce02c 100644 --- a/images/nixos.yaml +++ b/images/nixos.yaml @@ -52,6 +52,22 @@ files: releases: - 24.05 + - name: conf-hostname + path: /etc/nixos/lxd.nix + generator: template + content: |- + { lib, config, pkgs, ... }: + + # WARNING: THIS CONFIGURATION IS AUTOGENERATED AND WILL BE OVERWRITTEN AUTOMATICALLY + + { + networking.hostName = "{{ instance.name }}"; + } + releases: + - unstable + types: + - container + - name: conf-hostname path: /etc/nixos/incus.nix generator: template @@ -70,3 +86,5 @@ files: } releases: - unstable + types: + - vm