nixos/incus-agent: pin to non-lts

93bfd38a marked incus-lts as unstable, but this means the default
used by incus.agent breaks images. Using the newer agent loader
should in theory be backward compatible with lts v6.
This commit is contained in:
Adam C. Stephens
2026-06-02 13:53:35 -04:00
parent 93bfd38a3a
commit a48b101022

View File

@@ -7,6 +7,8 @@
let
cfg = config.virtualisation.incus.agent;
package = pkgs.incus;
in
{
meta = {
@@ -18,8 +20,8 @@ in
};
config = lib.mkIf cfg.enable {
services.udev.packages = [ config.virtualisation.incus.package.agent_loader ];
systemd.packages = [ config.virtualisation.incus.package.agent_loader ];
services.udev.packages = [ package.agent_loader ];
systemd.packages = [ package.agent_loader ];
systemd.services.incus-agent = {
enable = true;