Skip to content

Instantly share code, notes, and snippets.

View BartoszUrban's full-sized avatar

Bartosz BartoszUrban

View GitHub Profile
# ===========================================
# ZSH Hacks - Dreams of Code
# ===========================================
# Add these to your .zshrc file
# ===========================================
# -------------------------------------------
# 1. Edit Command Buffer
# -------------------------------------------
# Open the current command in your $EDITOR (e.g., neovim)
@0atman
0atman / configuration.nix
Last active April 28, 2026 12:39
A rebuild script that commits on a successful build
{
config,
pkgs,
options,
...
}: let
hostname = "oatman-pc"; # to alllow per-machine config
in {
networking.hostName = hostname;