mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
21 lines
557 B
Nix
21 lines
557 B
Nix
lib:
|
|
system:
|
|
|
|
let
|
|
sys = lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
({ modulesPath, pkgs, ... }: {
|
|
imports = [
|
|
"${modulesPath}/installer/cd-dvd/installation-cd-minimal-new-kernel-no-zfs.nix"
|
|
];
|
|
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_testing_bcachefs;
|
|
boot.supportedFilesystems = [ "bcachefs" ];
|
|
boot.initrd.availableKernelModules = [ "bcachefs" ];
|
|
isoImage.squashfsCompression = "gzip -Xcompression-level 1";
|
|
})
|
|
];
|
|
};
|
|
|
|
in
|
|
sys.config.system.build.isoImage
|