35 lines
574 B
Nix
35 lines
574 B
Nix
{
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
inputs.terranix.flakeModule
|
|
];
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
let
|
|
package = pkgs.opentofu.withPlugins (p: [
|
|
p.external
|
|
p.local
|
|
p.null
|
|
p.tls
|
|
p.incus
|
|
]);
|
|
in
|
|
{
|
|
terranix = {
|
|
terranixConfigurations = {
|
|
tnix = {
|
|
terraformWrapper = {
|
|
inherit package;
|
|
};
|
|
workdir = "terraform";
|
|
modules = [
|
|
# ../terranix/default.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|