mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 08:00:59 +00:00
nixos/reframe: fix eval error in option definition (#580760)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user