Skip to content

Instantly share code, notes, and snippets.

View MAHDTech's full-sized avatar
:shipit:

MAHDTech MAHDTech

:shipit:
View GitHub Profile
@MAHDTech
MAHDTech / KIND.md
Last active July 20, 2023 13:38
ChromeOS Crostini with KIND
@MAHDTech
MAHDTech / default.nix
Last active March 4, 2023 02:30
Container image with pip2nix packages
{pkgs, ...}: let
idem = pkgs.callPackage ./idem.nix { };
in
pkgs.dockerTools.buildImage {
name = "idem";
tag = "latest";
created = "now";
@MAHDTech
MAHDTech / container.nix
Created March 3, 2023 12:19
Referencing custom derivations
{pkgs, ...}:
pkgs.dockerTools.buildImage {
name = "pivnet";
tag = "latest";
created = "now";
copyToRoot = pkgs.buildEnv {
name = "image-root";
pathsToLink = ["/bin"];
@MAHDTech
MAHDTech / tce.yaml
Last active April 1, 2022 00:22
KIND config for Tanzu Community Edition
ClusterName: tce
KubeconfigPath: ""
ExistingClusterKubeconfig: ""
NodeImage: ""
Provider: kind
Cni: antrea
CniConfiguration: {}
PodCidr: 10.244.0.0/16
ServiceCidr: 10.96.0.0/16
TkrLocation: projects.registry.vmware.com/tce/tkr:v1.21.5