nixos/reframe: fix eval error in option definition (#580760)

This commit is contained in:
Matthew Croughan
2026-10-30 02:03:30 +00:00
committed by GitHub

View File

@@ -13,9 +13,11 @@ in
enable = lib.mkEnableOption "DRM/KMS based remote desktop for Linux that supports Wayland/NVIDIA/headless/login…";
package = lib.mkPackageOption pkgs "reframe" { };
configs = lib.mkOption {
type = lib.types.submodule {
freeformType = settingsFormat.type;
};
type = lib.types.attrsOf (
lib.types.submodule {
freeformType = settingsFormat.type;
}
);
default = { };
description = "Configurations for ReFrame";
@@ -72,6 +74,7 @@ in
systemd.services = lib.mapAttrs' (
name: _:
lib.nameValuePair "reframe-server@${name}" {
overrideStrategy = "asDropin";
wantedBy = [ "multi-user.target" ];
}
) cfg.configs;