mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user