Skip to content

Instantly share code, notes, and snippets.

View nomaster's full-sized avatar
🏳️‍🌈
Chaos Penguin

Mik Szillat nomaster

🏳️‍🌈
Chaos Penguin
View GitHub Profile
@nomaster
nomaster / patch.yaml
Created June 10, 2022 13:45
Kustomization patch for Java Application Insights Agent
---
- op: add
path: /spec/template/spec/containers/0/envFrom/-
value:
secretRef:
name: appinsights
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: JAVA_OPTIONS
@nomaster
nomaster / configuration.nix
Last active February 15, 2025 09:37
NixOS Configuration for experimental K3S cluster node
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
@nomaster
nomaster / sysctl-ipv6.sh
Created September 24, 2023 19:23
EdgeRouter IPv6 instability workaround
#!/bin/sh
/sbin/sysctl -w net.ipv6.route.max_size=104857600
/sbin/sysctl -w net.ipv6.route.gc_thresh=104857600
@nomaster
nomaster / 20auto-upgrades
Created March 8, 2024 09:13
Proxmox unattended upgrades
Unattended-Upgrade::Origins-Pattern {
"site=download.proxmox.com,codename=${distro_codename}";
};
@nomaster
nomaster / 50unattended-upgrades
Last active February 7, 2025 08:24
Unattended Upgrades for everything
Unattended-Upgrade::DevRelease "auto";
Unattended-Upgrade::Origins-Pattern {
"origin=*";
};
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
Unattended-Upgrade::Remove-Unused-Dependencies "true";
Unattended-Upgrade::Automatic-Reboot "true";