nixos/README.md
2024-10-24 09:59:58 +02:00

660 B

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-graphical-calamares-plasma6.nix" ]; }; }; }; }

git init git add flake.nix nix --extra-experimental-features flakes --extra-experimental-features nix-command build .#nixosConfigurations.exampleIso.config.system.build.isoImage

doas dd if=result/iso/nixos-*-x86_64-linux.iso of=/dev/sda bs=4M conv=fsync