bcachefs iso

This commit is contained in:
Tao Tien 2024-10-14 00:11:06 -07:00
parent d8ce8bddef
commit c5414fa008
3 changed files with 39 additions and 7 deletions

View file

@ -36,6 +36,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/0.1";
nixos.url = "nixpkgs/nixos-24.05";
};
nixConfig = {
@ -62,6 +63,7 @@
nixos-cosmic,
zen-browser,
determinate,
nixos,
...
} @ inputs: {
nixosConfigurations = {
@ -141,6 +143,20 @@
./extras/minecraft-server.nix
];
};
bcachefs-iso = nixos.lib.nixosSystem {
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;
})
];
};
};
};
}