diff options
-rw-r--r-- | users/wpcarro/nixos/installer.nix | 12 | ||||
-rw-r--r-- | users/wpcarro/nixos/iso.nix | 17 |
2 files changed, 17 insertions, 12 deletions
diff --git a/users/wpcarro/nixos/installer.nix b/users/wpcarro/nixos/installer.nix deleted file mode 100644 index 0dff8ea07d13..000000000000 --- a/users/wpcarro/nixos/installer.nix +++ /dev/null @@ -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" = {}; - }; -} 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; + }; +} |