blob: 0b6d276b9e19e05a7f877883fba30dac79d2c44d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nixtamal - Fulfilling input pinning for Nix</title>
<meta name="description" content="Nixtamal: Automate input pinning for Nix dependency management with declarative manifests and flexible fetchers.">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<nav>
<div class="logo">Nixtamal</div>
<input type="checkbox" id="mobile-menu" class="mobile-menu-toggle">
<label for="mobile-menu" class="mobile-menu-toggle" aria-label="Toggle navigation menu">☰</label>
<ul class="nav-links">
<li><a href="#home" aria-label="Go to Home section">Home</a></li>
<li><a href="#install" aria-label="Go to Install section">Install</a></li>
<li><a href="#cookbook" aria-label="Go to Cookbook section">Cookbook</a></li>
<li><a href="#docs" aria-label="Go to Documentation section">Docs</a></li>
<li><a href="#community" aria-label="Go to Community section">Community</a></li>
</ul>
</nav>
</header>
<main>
<section id="home" class="hero" data-section="home">
<div class="container">
<h1 data-speed="0.3">Nixtamal</h1>
<p data-speed="0.1">Fulfilling input pinning for Nix—pinning in ways flakes never can</p>
<div class="features" data-speed="0.5">
<div class="feature-card">
<h3>Automate Input Pinning</h3>
<p>Automate the manual work of input pinning for dependency management</p>
</div>
<div class="feature-card">
<h3>Declarative Manifests</h3>
<p>Use declarative KDL manifest files over imperative CLI flags</p>
</div>
<div class="feature-card">
<h3>Flexible Fetchers</h3>
<p>Choose eval time fetchers (builtins) or build time fetchers (Nixpkgs)</p>
</div>
<div class="feature-card">
<h3>Mirror Support</h3>
<p>Supports mirrors for reliable fetching</p>
</div>
</div>
<a href="#install" class="cta-button" data-speed="0.2">Ready to try & install?</a>
</div>
</section>
<section id="install" data-section="install">
<div class="container">
<h2 data-speed="0.2">Installation</h2>
<div class="content-section" data-speed="0.1">
<div class="sidebar">
<h3>From Nix + Nixpkgs</h3>
<p>If on NixOS unstable, you can run:</p>
<code>nix run github:NixOS/nixpkgs/nixos-unstable#nixtamal</code>
<p>Alternatively, for open pull requests:</p>
<code>nix run https://github.com/toastal/nixpkgs/archive/refs/heads/nixtamal-${VERSION}.zip -A nixtamal</code>
</div>
<div class="main-content">
<h3>From Source</h3>
<p>If you don't have Darcs installed, install from Nixpkgs:</p>
<code>nix-env -iA nixpkgs.darcs</code>
<p>Then clone and build:</p>
<code>darcs clone https://darcs.toastal.in.th/nixtamal/stable<br>
cd nixtamal<br>
nix-build</code>
<p>Optionally install as Nix profile:</p>
<code>nix-env -i ./result</code>
<h3>Add Overlay</h3>
<p>With nixtamal installed, bootstrap to add overlay:</p>
<pre><code>inputs {
nixtamal {
darcs {
repository "https://darcs.toastal.in.th/nixtamal/stable"
mirrors "https://smeder.ee/~toastal/nixtamal.darcs"
}
fresh-cmd {
$ curl -sL "https://darcs.toastal.in.th/nixtamal/stable/_darcs/weak_hash"
}
}
}</code></pre>
<h3>For Development</h3>
<p>Use pre-release @ next:</p>
<pre><code>inputs {
nixtamal {
darcs {
repository "https://darcs.toastal.in.th/nixtamal/next/"
}
fresh-cmd {
$ curl -sL "https://darcs.toastal.in.th/nixtamal/next/_darcs/weak_hash"
}
}
}</code></pre>
</div>
</div>
</div>
</section>
<section id="cookbook" data-section="cookbook">
<div class="container">
<h2 data-speed="0.2">Cookbook</h2>
<p data-speed="0.1">Recipes for pinning various inputs with Nixtamal.</p>
<!-- Placeholder for cookbook recipes -->
<div class="features" data-speed="0.5">
<div class="feature-card">
<h3>Pinning GitHub Inputs</h3>
<p>Learn how to pin Microsoft GitHub inputs in Nix.</p>
</div>
<div class="feature-card">
<h3>Pinning GitLab Inputs</h3>
<p>Instructions for pinning GitLab inputs.</p>
</div>
<div class="feature-card">
<h3>Using Mirrors</h3>
<p>How to use mirrors for reliable fetching.</p>
</div>
<div class="feature-card">
<h3>Hash Algorithms</h3>
<p>Set hash algorithm to BLAKE3 for better security.</p>
</div>
</div>
</div>
</section>
<section id="docs" data-section="docs">
<div class="container">
<h2 data-speed="0.2">Documentation</h2>
<p data-speed="0.1">Complete documentation including manpages.</p>
<div class="content-section" data-speed="0.1">
<div class="sidebar">
<h3>Manual Pages</h3>
<ul>
<li><a href="#nixtamal-manpage">nixtamal(1)</a></li>
<li><a href="#manifest-manpage">nixtamal-manifest(5)</a></li>
</ul>
</div>
<div class="main-content">
<h3>Getting Started</h3>
<p>Nixtamal provides a declarative way to manage input pinning for Nix projects.</p>
<!-- Placeholder for full documentation -->
</div>
</div>
</div>
</section>
<section id="community" data-section="community">
<div class="container">
<h2 data-speed="0.2">Community</h2>
<p data-speed="0.1">Join the Nixtamal community for support and contributions.</p>
<div class="features" data-speed="0.5">
<div class="feature-card">
<h3>Contributing</h3>
<p>Learn how to contribute to Nixtamal development.</p>
</div>
<div class="feature-card">
<h3>Support</h3>
<p>Get help and support from the community.</p>
</div>
<div class="feature-card">
<h3>Discussions</h3>
<p>Join community discussions and share your experiences.</p>
</div>
</div>
</div>
</section>
</main>
<footer>
<div class="container">
<p>Site made with Nix, Nickel, Soupault, Docutils, mandoc, & sugilite256.</p>
<p>© 2025–2026 toastal. © 2026 Nixtamal contributors.</p>
<p>Some rights reserved. Licensed under CC-BY-SA-4.0.</p>
</div>
</footer>
<script src="js/parallax.js"></script>
<script src="js/webgl-bg.js"></script>
</body>
</html>
|