Skip to content

Instantly share code, notes, and snippets.

@lukegb
Created April 12, 2021 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukegb/bbdc1ae5a720a2c25738c19db2f636a9 to your computer and use it in GitHub Desktop.
Save lukegb/bbdc1ae5a720a2c25738c19db2f636a9 to your computer and use it in GitHub Desktop.
{ config ? import ./iso-config.nix
}:
(import <nixpkgs/nixos/lib/eval-config.nix> {
system = builtins.currentSystem;
modules = [ config ];
}).config.system.build.isoImage
{ config, lib, pkgs, ... }:
{
imports = [
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
];
networking.hostName = "my-jank-cd";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment