summaryrefslogtreecommitdiffstats
path: root/blog/refactoring-nix-flake.html
blob: c2d002627527b8666f591a90858184b3cf737cc9 (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
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>Refactoring My Nix Flake (uncut) | Skullheadx</title>
		<meta name="description" content="I spent 2 hours to refactor my NixOS flake to be more coherent">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link rel="stylesheet" type="text/css" href="../style.css">
		<link rel="icon" href="../favicon.ico">
	</head>
	<body class="blog">
		<div class="blog-wrapper">
			<header class="main-head" id="top">
				<h1><a href="../index.html">Skullheadx's Blog</a></h1>
			</header>
			<nav class="main-nav">
				<section>
					<ul>
						<li><a href="../index.html">Main Page</a></li>
						<li><a href="./index.html">All Posts</a></li>
						<li><a href="../tech/index.html">Technology Posts</a></li>
					</ul>
				</section>
			</nav>
			<main class="content">
				<article class="blog-post">
					<hgroup>
						<h3>Refactoring My Nix Flake (uncut)</h3>
						<p>Published: <time datetime="2026-08-16">August 16, 2026</time></p>
					</hgroup>
					<p>Tidied up my desktop NixOS configuration, added some comments, and fixed a reproducibility problem.</p>
					<figure>
						<figcaption>Watch <strong>Refactoring My Nix Flake (uncut):</strong></figcaption>
						<video controls>
							<source src="https://cdn.skullheadx.com/refactoring-nix-flake.mp4" type="video/mp4">

							Download the <a href="https://cdn.skullheadx.com/refactoring-nix-flake.mp4">mp4</a>
							video.
						</video>
						<a href="https://youtu.be/juA6jpJQfto">Youtube Mirror</a>
					</figure>

					<h4>Errata:</h4>
					<p>
						Use
						<code>${pkgs.feh}/bin/feh --no-fehbg --bg-fill ${../../Daniel_in_the_Lions_Den_by_Briton_Riviere.jpg}</code>
						to put it in the /nix/store
					</p>
					<hr>
				</article>
			</main>
			<footer class="main-footer">
				<p>Return to <a href="#top">top?</a></p>
				<p><a href="https://skullheadx.com">https://skullheadx.com</a></p>
			</footer>
		</div>
	</body>
</html>