forked from fediversity/fediversity
Compare commits
No commits in common. "d91211f9a1921db4a289743d7bcd5a53050f72a7" and "7ce39028517f333a8c0dc241c002ab13bac01ca3" have entirely different histories.
d91211f9a1
...
7ce3902851
2 changed files with 3 additions and 7 deletions
|
|
@ -1,5 +1,4 @@
|
|||
let
|
||||
sources = import ../npins;
|
||||
inherit (import ../default.nix { }) pkgs inputs;
|
||||
inherit (pkgs) lib;
|
||||
inherit (lib) mkOption types;
|
||||
|
|
@ -70,11 +69,7 @@ in
|
|||
};
|
||||
};
|
||||
config = {
|
||||
resource-type = types.deferredModuleWith {
|
||||
staticModules = import "${sources.nixpkgs}/nixos/modules/module-list.nix" ++ [
|
||||
{ _class = "nixos"; }
|
||||
];
|
||||
};
|
||||
resource-type = types.raw; # TODO: splice out the user type from NixOS
|
||||
apply =
|
||||
requests:
|
||||
let
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ let
|
|||
inputs.nixops4.modules.nixops4Deployment.default
|
||||
|
||||
{
|
||||
_class = "nixops4Deployment";
|
||||
_module.args = {
|
||||
resourceProviderSystem = builtins.currentSystem;
|
||||
resources = { };
|
||||
|
|
@ -41,6 +40,8 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
_class = "nixops4Deployment";
|
||||
|
||||
options = {
|
||||
resources = mkOption {
|
||||
description = "Collection of deployment resources that can be required by applications and policed by hosting providers";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue