refactor(wpcarro/nixos): Rename installer -> iso

Right now this is just a sketch for a larger idea of writing a binary called
`create-installer` (see docs).

Change-Id: Ib8e2acfd5d350ccc344329d87983c415f166d02b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4358
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
This commit is contained in:
William Carroll 2021-12-16 00:14:38 -05:00 committed by wpcarro
parent 305d813a2b
commit f0c29e6c32
2 changed files with 17 additions and 12 deletions

View file

@ -1,12 +0,0 @@
# This expression can be used to create NixOS .iso images.
{ ... }:
{
imports = [
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
];
config = {
networking.wireless.enable = true;
networking.wireless.networks."GoogleGuest" = {};
};
}

View file

@ -0,0 +1,17 @@
# TODO(wpcarro): Support the workflow outlined in these docs.
#
# Usage:
# $ lsblk # get your USB dev path (e.g. /dev/sdb)
# $ create-installer --dev=/dev/sdb //users/wpcarro/nixos/marcus
{ pkgs, ... }:
{
imports = [
"${pkgs.nixos}/modules/installer/cd-graphical-gnome.nix"
];
config = {
networking.wireless.enable = true;
};
}