summaryrefslogtreecommitdiff
path: root/files/index.html
blob: 00acfe978e82006b1564dff35a8c31f7675d7e6e (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
<!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>