82 lines
2.2 KiB
HTML
82 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<!-- index.html file hosted at https://substitutes.freya.cat -->
|
|
<head>
|
|
<title>Sakura substitute server</title>
|
|
<meta charset="utf-8">
|
|
<meta name="author" content="freya">
|
|
<meta name="color-scheme" content="#181818">
|
|
</head>
|
|
<body>
|
|
<style>
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: #181818;
|
|
color: #fff;
|
|
font-family: DejaVu Sans, sans-serif;
|
|
}
|
|
|
|
body {
|
|
padding: 10px;
|
|
margin: auto;
|
|
max-width: 800px;
|
|
}
|
|
|
|
a, a:visited {
|
|
text-decoration: none;
|
|
color: #fcd1d7;
|
|
}
|
|
|
|
a:hover, a:focus {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
pre {
|
|
background: #fff;
|
|
color: #562135;
|
|
margin: 10px;
|
|
padding: 10px;
|
|
border-radius: 2px;
|
|
}
|
|
</style>
|
|
<h1>🌸 Sakura Guix Channel</h1>
|
|
<h2>substitutes.freya.cat</h2>
|
|
<hr>
|
|
<p>Sakua is a guix channel that packages things that you may want but guix dosen't have.</p>
|
|
<p>View the git repository on <a href="https://g.freya.cat/freya/sakura">forgejo</a>.</p>
|
|
<h3>Channel</h3>
|
|
<p>To add sakura to your guix channels, use the following specification.</p>
|
|
<pre><code>(channel
|
|
(name 'sakura)
|
|
(url "https://g.freya.cat/freya/sakura")
|
|
(branch "main")
|
|
(introduction
|
|
(make-channel-introduction
|
|
"8fb2f9c2fa414754c41c1c73665e3e73e12693ab"
|
|
(openpgp-fingerprint
|
|
"3CD3 65F0 373C EB13 853A F568 9FBC 6FFD 6D2D BF17"))))</code></pre>
|
|
<h3>Substitutes</h3>
|
|
<p>Sakura hosts a substitute server at <a href="#">substitutes.freya.cat</a> with the cuirass server running at <a href="https://cuirass.freya.cat">cuirass.freya.cat</a>. You can modify your guix-service-type with the following specification to enable the sakura substitute server.</p>
|
|
<pre><code>(service guix-service-type
|
|
(guix-configuration
|
|
(inherit config)
|
|
(substitute-urls
|
|
(append (list "https://substitutes.freya.cat")
|
|
%default-substitute-urls))
|
|
(authorized-keys
|
|
(append (list (local-file ".../sakura.pub"))
|
|
%default-authorized-guix-keys)))))))</pre></code>
|
|
<p>... where sakura.pub is a path to a file holding the following signing key.</p>
|
|
<pre><code>(public-key
|
|
(ecc
|
|
(curve Ed25519)
|
|
(q #3E9614FD06AF20F9534DA0DE64FB9004878789744F26FFF2FF381E2EED1DEAC9#)
|
|
)
|
|
)</pre></code>
|
|
</body>
|
|
</html>
|