Nixos-Configuration/modules/flake/terranix.nix
Jermeiah S 7b7bcac73a
All checks were successful
/ test (push) Successful in 35s
partial implementation of terranix
2025-06-20 13:10:49 -04:00

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
];
};
};
};
};
}