From dd36203b347f0fb9d4187b75f86fb4486b044162 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Mon, 25 Mar 2024 18:27:22 +0100 Subject: [PATCH] new installer creation --- mini/install.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/mini/install.txt b/mini/install.txt index c908978..9106716 100644 --- a/mini/install.txt +++ b/mini/install.txt @@ -1,7 +1,7 @@ -# build installer +# build unstable installer { - description = "Bcachefs enabled installation media"; + description = "installation media"; inputs.nixos.url = "nixpkgs/nixos-unstable"; outputs = { self, nixos }: { nixosConfigurations = { @@ -9,10 +9,6 @@ system = "x86_64-linux"; modules = [ "${nixos}/nixos/modules/installer/cd-dvd/installation-cd-minimal-new-kernel-no-zfs.nix" - ({ lib, pkgs, ... }: { - boot.supportedFilesystems = [ "bcachefs" ]; - boot.kernelPackages = lib.mkOverride 0 pkgs.linuxPackages_latest; - }) ]; }; }; @@ -21,7 +17,7 @@ git init git add flake.nix -nix build .#nixosConfigurations.exampleIso.config.system.build.isoImage +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