dotfiles/terranix/containers/nfs-csi/default.nix
magic_rb aff0158ef7
Reformat the whole flake using alejandra
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-03-02 22:17:03 +01:00

26 lines
395 B
Nix

{elib, ...}: let
inherit
(elib)
nomadJob
;
datacenters = builtins.toJSON [
"do-1"
"homelab-1"
];
in {
resource."nomad_job"."nfs-controller" = nomadJob {
jobspec = ./controller.hcl;
vars = {
inherit datacenters;
};
};
resource."nomad_job"."nfs-node" = nomadJob {
jobspec = ./node.hcl;
vars = {
inherit datacenters;
};
};
}