Skip to content

Instantly share code, notes, and snippets.

View caguiclajmg's full-sized avatar
🈁
オラオラオラ

John Mark Gabriel Caguicla caguiclajmg

🈁
オラオラオラ
View GitHub Profile
@zeratax
zeratax / k3s.nix
Last active July 11, 2024 03:31
simulating a k3s cluster in nixos
{ pkgs, lib, config, ... }:
let
### Variables:
kubeMasterIP = "192.168.188.89";
kubeMasterGateway = "192.168.188.1";
kubeMasterHostname = "gestalt.local";
kubeMasterAPIServerPort = 6443;
kubeMasterInterface = "eno1";
kubeMasterMacVlanInterface = "mv-${kubeMasterInterface}";