mirror of
https://gitlab.com/TECHNOFAB/coder-templates.git
synced 2025-12-12 02:00:11 +01:00
chore: initial commit
This commit is contained in:
commit
8cf73a70ef
19 changed files with 1004 additions and 0 deletions
23
nix/packages/packages.nix
Normal file
23
nix/packages/packages.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{inputs, ...}: let
|
||||
inherit (inputs) self pkgs tofulib;
|
||||
in rec {
|
||||
nix-coder-image = pkgs.callPackage ./image.nix {};
|
||||
nix-kubernetes = nix-kubernetes-cli.tfjson;
|
||||
nix-kubernetes-cli = tofulib.mkCliAio {
|
||||
plugins = [
|
||||
(tofulib.mkOpentofuProvider {
|
||||
owner = "coder";
|
||||
repo = "coder";
|
||||
version = "2.8.0";
|
||||
hash = "sha256-wnjgnD1c6U42ceizqfBG6SE4YXm7rZ7kyYkAdtE8t0k=";
|
||||
})
|
||||
(tofulib.mkOpentofuProvider {
|
||||
owner = "hashicorp";
|
||||
repo = "kubernetes";
|
||||
version = "2.29.0";
|
||||
hash = "sha256-r8DomSe+gUAbHuc8ciiuVl/6IeeIjJK6HFVaqAsnze8=";
|
||||
})
|
||||
];
|
||||
moduleConfig = "${self}/nix-kubernetes";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue