feat: Gitea | migrate helm chart into CDKTF (#3)

Reviewed-on: #3
This commit is contained in:
2025-07-14 07:50:57 +00:00
parent 2cca9727ce
commit 1be613bedf
10 changed files with 1600 additions and 23 deletions

View File

@@ -2,26 +2,38 @@
description = "Flake to work with homelab setup";
inputs = {
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system:
let
lib = nixpkgs.lib;
# Import nixpkgs to access packages
pkgs = import nixpkgs { inherit system; };
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"terraform"
];
};
};
# Define the devshell
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
helmfile
kubernetes-helm
kubernetes-helmPlugins.helm-diff
kubectl
nil
terraform
tflint
# Adding node for copilot
nodejs_24
# cli tools
nodePackages.cdktf-cli
rm-improved
];
};
in {