Skip to content

Instantly share code, notes, and snippets.

@alexhaydock
alexhaydock / nm-clat.nix
Last active February 15, 2026 19:34
NixOS module to overlay latest NetworkManager with CLAT
# /etc/nixos/nm-clat.nix
{ config, pkgs, ... }:
{
# Use NetworkManager
networking.networkmanager.enable = true;
# Horrible hack to create a dispatcher to enable CLAT every time a connection
# comes up since networkmanager.settings doesn't seem to accept settings that
# only exist in the upstream dev branch
@misuzu
misuzu / oracle-cloud-nixos-install.md
Last active February 28, 2025 22:07
Install NixOS on Oracle Cloud over Ubuntu 18.04

Install NixOS on Oracle Cloud over Ubuntu 18.04 (make sure to use Ubuntu 18.04 or this may not work)

# install useful tools
sudo apt-get update
sudo apt-get install --no-install-recommends -y nano mc git

# prepare /boot
sudo umount /boot/efi
sudo mv /boot /boot.bak
@meskarune
meskarune / weechatrelay-letsencrypt.md
Last active August 6, 2025 05:31
weechat relay with ssl certificates from let's encrypt