From 27514d58573ce1f844af4ea60afa72c7f58f1cd7 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Thu, 21 Aug 2025 22:09:29 +0200 Subject: vault backup: 2025-08-21 22:09:29 --- Building NixOS disk images using disko.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Building NixOS disk images using disko.md (limited to 'Building NixOS disk images using disko.md') diff --git a/Building NixOS disk images using disko.md b/Building NixOS disk images using disko.md new file mode 100644 index 0000000..8634155 --- /dev/null +++ b/Building NixOS disk images using disko.md @@ -0,0 +1,7 @@ +[Documentation](https://github.com/nix-community/disko/blob/master/docs/disko-images.md) + +--- + +No special configuration is required besides the disk config from disko and setting the `imageSize` property in it. + +Disko includes a script that we can call using nix build and via referencing it through the flake: `nix build .#nixosConfigurations.myhost.config.system.build.diskoImageScript`. \ No newline at end of file -- cgit v1.2.3