forked from clan/clan-infra
make terraform hallal
This commit is contained in:
parent
f95a287a8c
commit
7ea466b7f2
@ -2,6 +2,7 @@
|
|||||||
perSystem =
|
perSystem =
|
||||||
{ inputs'
|
{ inputs'
|
||||||
, pkgs
|
, pkgs
|
||||||
|
, lib
|
||||||
, ...
|
, ...
|
||||||
}: {
|
}: {
|
||||||
devShells.default = pkgs.mkShellNoCC {
|
devShells.default = pkgs.mkShellNoCC {
|
||||||
@ -11,13 +12,15 @@
|
|||||||
|
|
||||||
inputs'.clan-core.packages.clan-cli
|
inputs'.clan-core.packages.clan-cli
|
||||||
|
|
||||||
(pkgs.terraform.withPlugins (p: [
|
((pkgs.terraform.withPlugins (p: [
|
||||||
p.hetznerdns
|
p.hetznerdns
|
||||||
p.hcloud
|
p.hcloud
|
||||||
p.null
|
p.null
|
||||||
p.external
|
p.external
|
||||||
p.local
|
p.local
|
||||||
]))
|
])).overrideAttrs (old: {
|
||||||
|
meta = old.meta // { license = lib.licenses.free; };
|
||||||
|
}))
|
||||||
];
|
];
|
||||||
inputsFrom = [
|
inputsFrom = [
|
||||||
inputs'.clan-core.devShells.default
|
inputs'.clan-core.devShells.default
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
perSystem = ({ lib, self', system, ... }: {
|
perSystem = ({ lib, self', system, ... }: {
|
||||||
treefmt = {
|
treefmt = {
|
||||||
projectRootFile = ".git/config";
|
projectRootFile = ".git/config";
|
||||||
programs.terraform.enable = true;
|
programs.hcl.enable = true;
|
||||||
programs.nixpkgs-fmt.enable = true;
|
programs.nixpkgs-fmt.enable = true;
|
||||||
settings.formatter.nixpkgs-fmt.excludes = [
|
settings.formatter.nixpkgs-fmt.excludes = [
|
||||||
# generated files
|
# generated files
|
||||||
|
Loading…
Reference in New Issue
Block a user