summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-05-29 22:13:47 +0200
committerChristoph Cullmann <cullmann@kde.org>2024-05-29 22:13:47 +0200
commit898cc97a9c1e757edc77cd0060db690ab087109a (patch)
tree5962e8f3e03a0d3a289cfbb133776f4f028e0b88 /README.md
parentfc4607ec20ae60907a7b980f146566b41e320b71 (diff)
more zfs preparations
Diffstat (limited to 'README.md')
-rw-r--r--README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..5a20751
--- /dev/null
+++ b/README.md
@@ -0,0 +1,29 @@
+# build unstable installer
+
+{
+ description = "installation media";
+ inputs.nixos.url = "nixpkgs/nixos-unstable";
+ outputs = { self, nixos }: {
+ nixosConfigurations = {
+ exampleIso = nixos.lib.nixosSystem {
+ system = "x86_64-linux";
+ modules = [
+ "${nixos}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
+ ];
+ };
+ };
+ };
+}
+
+git init
+git add flake.nix
+nix --extra-experimental-features flakes --extra-experimental-features nix-command build .#nixosConfigurations.exampleIso.config.system.build.isoImage
+
+sudo dd if=result/iso/nixos-24.05.20240108.317484b-x86_64-linux.iso of=/dev/sda bs=4M conv=fsync
+
+# good ZFS links
+
+- https://openzfs.github.io/openzfs-docs/Getting%20Started/NixOS/Root%20on%20ZFS.html
+- https://carjorvaz.com/posts/installing-nixos-with-root-on-tmpfs-and-encrypted-zfs-on-a-netcup-vps/
+- https://astrid.tech/2021/12/17/0/two-disk-encrypted-zfs/
+- https://mzhang.io/posts/2022-05-09-installing-nixos-on-encrypted-zfs/