Skip to content

Instantly share code, notes, and snippets.

@LnL7

LnL7/build.sh Secret

Last active February 18, 2019 22:59
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 LnL7/034907a17956276160a0b15d90c4fc72 to your computer and use it in GitHub Desktop.
Save LnL7/034907a17956276160a0b15d90c4fc72 to your computer and use it in GitHub Desktop.
$ nix-build -A config.system.build.isoImage -I nixos-config=iso.nix '<nixpkgs/nixos>'
{ config, lib, pkgs, ... }:
let
qca9377_firmware = pkgs.callPackage ./qca9377_firmware.nix { };
in
{
imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix> ];
hardware.firmware = [ qca9377_firmware ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment