diff options
author | William Carroll <wpcarro@gmail.com> | 2021-12-16T05·14-0500 |
---|---|---|
committer | wpcarro <wpcarro@gmail.com> | 2021-12-16T22·07+0000 |
commit | f0c29e6c325c33cdb90c170ee3f4197535654306 (patch) | |
tree | fb99616420c9a7637c6e2ba44a70eaacd88d00ea /users/wpcarro/nixos/iso.nix | |
parent | 305d813a2b118c2fa27f4a710b2abca03ac21fe9 (diff) |
refactor(wpcarro/nixos): Rename installer -> iso r/3279
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>
Diffstat (limited to 'users/wpcarro/nixos/iso.nix')
-rw-r--r-- | users/wpcarro/nixos/iso.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/users/wpcarro/nixos/iso.nix b/users/wpcarro/nixos/iso.nix new file mode 100644 index 000000000000..8102c98fb893 --- /dev/null +++ b/users/wpcarro/nixos/iso.nix @@ -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; + }; +} |