[PATCH 7/8] defconfigs/nixos: name NIXOS hosts with the "nixos" prefix
Daniel Gomez <[email protected]> Thu, 23 Apr 2026 00:16:48 +0200
| Newsgroups | dev.linux.lists.kdevops |
|---|---|
| Message-ID | <[email protected]> |
From: Daniel Gomez <[email protected]> The NIXOS defconfig inherited the generic "kdevops" default for KDEVOPS_HOSTS_PREFIX, which made the VM show up in virsh as "kdevops" (or "kdevops-builder" under the earlier bootlinux_builder default). Neither name tells a user at a glance that the guest runs NixOS. Set CONFIG_KDEVOPS_HOSTS_PREFIX="nixos" so the generated VM and inventory entries take the "nixos" prefix. Users who wish a different prefix (for example, their own name, or a distro-style prefix) can still override on the command line via "KDEVOPS_HOSTS_PREFIX=... make defconfig-nixos" because the CLI-set-by path in kconfigs/Kconfig.kdevops takes precedence over the defconfig default. Generated-by: Claude AI Signed-off-by: Daniel Gomez <[email protected]> --- defconfigs/nixos | 1 + 1 file changed, 1 insertion(+) diff --git a/defconfigs/nixos b/defconfigs/nixos index c510e341..bad22282 100644 --- a/defconfigs/nixos +++ b/defconfigs/nixos @@ -1,5 +1,6 @@ CONFIG_NIXOS=y CONFIG_LIBVIRT=y +CONFIG_KDEVOPS_HOSTS_PREFIX="nixos" # Disable mirror setup for NixOS CONFIG_ENABLE_LOCAL_LINUX_MIRROR=n -- 2.53.0