diff --git a/nixos/modules/services/networking/reframe.nix b/nixos/modules/services/networking/reframe.nix index 7bd9ff892a40..cdd394dfd88b 100644 --- a/nixos/modules/services/networking/reframe.nix +++ b/nixos/modules/services/networking/reframe.nix @@ -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;