feat: Add config for generating an installation media
It can be built using the command: nix build .#nixosConfigurations.installationMedia.config.system.build.isoImage It contains the latest kernel ZFS supports (ZFS is included in the ISO) and a version of Nix with flakes enabled.master
parent
0478ae970e
commit
efdcaf5b64
@ -0,0 +1,17 @@
|
||||
{ nixpkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
pkgPath = nixpkgs.outPath;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
"${pkgPath}/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix"
|
||||
"${pkgPath}/nixos/modules/installer/cd-dvd/channel.nix"
|
||||
];
|
||||
|
||||
boot.kernelPackages = pkgs.zfs.latestCompatibleLinuxPackages;
|
||||
|
||||
nix.package = pkgs.nixUnstable;
|
||||
nix.extraOptions = "experimental-features = nix-command flakes";
|
||||
}
|
Loading…
Reference in New Issue