new installer creation
This commit is contained in:
parent
84da20f99e
commit
dd36203b34
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue