Skip to content

Instantly share code, notes, and snippets.

View swarm-protocol's full-sized avatar
🎯
Focusing

Alucinari Cognita swarm-protocol

🎯
Focusing
View GitHub Profile
@swarm-protocol
swarm-protocol / litterbox.sh
Created February 9, 2026 23:54
bash uploader for litterbox.catbox.moe (useful for HTML5 apps)
#!/usr/bin/env bash
set -euo pipefail
# Configuration
LOG_FILE="${HOME}/litterbox.log"
API_ENDPOINT="https://litterbox.catbox.moe/resources/internals/api.php"
CATBOX_TIME="${CATBOX_TIME:-72h}" # Default 72h, override via env
# Usage
{ config, pkgs, ... }:
{
imports = [ ./hardware-configuration.nix ];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "nixos-vm";
networking.networkmanager.enable = true;