treewide: small darwin improvements

This commit is contained in:
Nikodem Rabuliński 2024-07-23 20:11:50 +02:00
parent 6a0ba53006
commit cfbb58e455
3 changed files with 5 additions and 2 deletions

View file

@ -74,6 +74,7 @@
in
{
system = eval.config.system.build.toplevel;
inherit eval;
};
};
}

View file

@ -69,7 +69,7 @@ in
type = types.bool;
default = !isLinux;
};
package = lib.mkPackageOption pkgs "incus" { };
package = lib.mkPackageOption pkgs "incus-lts" { };
clientPackage = lib.mkOption {
type = types.package;
default = cfg.package.client;

View file

@ -98,7 +98,9 @@ let
};
darwinConfig = lib.optionalAttrs (!isLinux) {
warnings = lib.optional options.settei.containers.isDefined "settei.containers doesn't do anything on darwin yet";
warnings = lib.optional (
config.settei.containers != { }
) "settei.containers doesn't do anything on darwin yet";
};
in
{