clan-infra/devShells/flake-module.nix

31 lines
612 B
Nix
Raw Normal View History

2023-07-28 13:50:14 +00:00
{
perSystem =
{ inputs'
, pkgs
2023-11-03 09:35:35 +00:00
, lib
2023-07-28 13:50:14 +00:00
, ...
}: {
2023-09-19 12:30:18 +00:00
devShells.default = pkgs.mkShellNoCC {
2023-07-28 13:50:14 +00:00
packages = [
pkgs.bashInteractive
pkgs.sops
2023-08-08 12:13:13 +00:00
inputs'.clan-core.packages.clan-cli
2023-11-03 09:35:35 +00:00
((pkgs.terraform.withPlugins (p: [
2023-07-28 13:50:14 +00:00
p.hetznerdns
p.hcloud
p.null
p.external
p.local
2023-11-03 09:35:35 +00:00
])).overrideAttrs (old: {
meta = old.meta // { license = lib.licenses.free; };
}))
2023-07-28 13:50:14 +00:00
];
inputsFrom = [
inputs'.clan-core.devShells.default
];
};
};
}