Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Triangle Area Locations</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$ref": "#/definitions/KarabinerModSchema",
"definitions": {
"KarabinerModSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"title": {
"type": "string"

Condensed Guide to Using Snowfall Lib in a Nix Flake Repository

Snowfall Lib is a powerful library that simplifies managing your Nix flake by providing an opinionated file structure and automating the generation of flake outputs. This guide will walk you through setting up Snowfall Lib in a flake-enabled Nix repository, focusing on defining flake outputs like homes, systems, overlays, packages, modules, templates, and shells.

Prerequisites

  • Nix installed with flake support enabled.
  • Basic understanding of Nix and flakes.

1. Initialize a Nix Flake

Packing buildarr and it's plugins in a flake

./buildarr-radarr.nix

{
  lib,
  python3,
  fetchPypi,
}:
python3.pkgs.buildPythonPackage rec {
diff --git a/syntaxes/org.tmLanguage.json b/syntaxes/org.tmLanguage.json
index ee1ee88..d63a46d 100755
--- a/syntaxes/org.tmLanguage.json
+++ b/syntaxes/org.tmLanguage.json
@@ -1309,6 +1309,39 @@
}
]
},
+ {
+ "name": "meta.block.source.nix.org",