Creating a NixOS live CD: Difference between revisions
imported>Mic92 |
imported>Mic92 |
||
| Line 16: | Line 16: | ||
imports = [ | imports = [ | ||
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix> | <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix> | ||
# Provide an initial copy of the NixOS channel so that the user | |||
# doesn't need to run "nix-channel --update" first. | |||
<nixpkgs/nixos/modules/installer/cd-dvd/channel.nix> | <nixpkgs/nixos/modules/installer/cd-dvd/channel.nix> | ||
]; | ]; | ||
| Line 50: | Line 52: | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== ZFS support | |||
The default iso does not contain zfs tools and drivers by default. This can be changed by: | |||
<syntaxhighlight lang="nix"> | |||
boot.supportedFilesystems = [ "zfs" ]; | |||
</syntaxhighlight> | |||
in iso.nix | |||
== software installation inside the 'once' deployed and booted image == | == software installation inside the 'once' deployed and booted image == | ||