Commit Graph

4 Commits

Author SHA1 Message Date
Tom Herbers
e09f967bc3 nixos/incus-image: disable cloneConfig module
The cloneConfig module can prevent the incus-create-nixos-config.service from
running because it will already have generated a configuration.nix.

Also modifies the test to hopefully catch that.

Fixes 0f363a1cb4
2026-05-06 02:36:33 +02:00
r-vdp
0f363a1cb4 nixos: replace container activation scripts
docker: move /init symlink creation from activationScript to installBootLoader,
which is the mechanism switch-to-configuration already uses for this purpose.

lxc: remove redundant activation script.
The installBootLoader hook was already handling /sbin/init.

incus: replace activationScript with a oneshot systemd service that uses
ConditionPathExists to create /etc/nixos/configuration.nix only on first
boot.

See: https://github.com/NixOS/nixpkgs/issues/475305
2026-03-12 23:58:05 +01:00
Wolfgang Walther
b19d0f6d3d treewide: replace substituteAll with replaceVars 2025-02-10 22:51:56 +01:00
Adam Stephens
094f2b6c9d nixos/incus: add incus-only vm and container images 2024-08-10 13:23:36 -04:00