move nixops4Deployment class #6

Merged
kiara merged 1 commit from kiara/Fediversity:data-model-fix-root-class into deployment-data-model-with-tests 2025-07-31 18:17:57 +02:00

View file

@ -31,6 +31,7 @@ let
inputs.nixops4.modules.nixops4Deployment.default
{
_class = "nixops4Deployment";
Review

I'm not even sure this is needed at all, the import should give us that anyway

I'm not even sure this is needed at all, the import should give us that anyway
Review

fair - for the purpose of imports checks i guess i'll close in favor of https://github.com/nixops4/nixops4/pull/104, fixing the lack of this _class upstream

fair - for the purpose of imports checks i guess i'll close in favor of https://github.com/nixops4/nixops4/pull/104, fixing the lack of this `_class` upstream
Review

ah, i guess until then we may as well get this moved out of the root

ah, i guess until then we may as well get this moved out of the root
_module.args = {
resourceProviderSystem = builtins.currentSystem;
resources = { };
@ -40,8 +41,6 @@ let
};
in
{
_class = "nixops4Deployment";
options = {
resources = mkOption {
description = "Collection of deployment resources that can be required by applications and policed by hosting providers";