Compare commits

..

No commits in common. "d91211f9a1921db4a289743d7bcd5a53050f72a7" and "7ce39028517f333a8c0dc241c002ab13bac01ca3" have entirely different histories.

2 changed files with 3 additions and 7 deletions

View file

@ -1,5 +1,4 @@
let let
sources = import ../npins;
inherit (import ../default.nix { }) pkgs inputs; inherit (import ../default.nix { }) pkgs inputs;
inherit (pkgs) lib; inherit (pkgs) lib;
inherit (lib) mkOption types; inherit (lib) mkOption types;
@ -70,11 +69,7 @@ in
}; };
}; };
config = { config = {
resource-type = types.deferredModuleWith { resource-type = types.raw; # TODO: splice out the user type from NixOS
staticModules = import "${sources.nixpkgs}/nixos/modules/module-list.nix" ++ [
{ _class = "nixos"; }
];
};
apply = apply =
requests: requests:
let let

View file

@ -31,7 +31,6 @@ let
inputs.nixops4.modules.nixops4Deployment.default inputs.nixops4.modules.nixops4Deployment.default
{ {
_class = "nixops4Deployment";
_module.args = { _module.args = {
resourceProviderSystem = builtins.currentSystem; resourceProviderSystem = builtins.currentSystem;
resources = { }; resources = { };
@ -41,6 +40,8 @@ let
}; };
in in
{ {
_class = "nixops4Deployment";
options = { options = {
resources = mkOption { resources = mkOption {
description = "Collection of deployment resources that can be required by applications and policed by hosting providers"; description = "Collection of deployment resources that can be required by applications and policed by hosting providers";