diff --git a/build-iso.sh b/build-iso.sh new file mode 100755 index 0000000..2cd9c7d --- /dev/null +++ b/build-iso.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +beta="${1}" + +nix build ".#nixosConfigurations.iso${beta}.config.system.build.isoImage" diff --git a/hosts/default.nix b/hosts/default.nix index 98de728..18ce96f 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -52,6 +52,7 @@ in { lappy = machine { name = "lappy"; }; mm = unstable { name = "mm"; }; iso = machine { name = "iso"; }; + iso-beta = unstable { name = "iso"; }; # nix build '.#nixosConfigurations.wsl.config.system.build.installer' nixos = wsl { name = "wsl"; system = "aarch64-linux"; }; # nix build '.#nixosConfigurations.wsl-aarch.config.system.build.installer' diff --git a/hosts/iso/default.nix b/hosts/iso/default.nix index d7a266f..3ac6960 100644 --- a/hosts/iso/default.nix +++ b/hosts/iso/default.nix @@ -9,4 +9,7 @@ networking.networkmanager.enable = lib.mkForce false; users.users.greg.initialPassword = ""; #services.getty.autologinUser = lib.mkForce "greg"; + environment.systemPackages = with pkgs; [ + tree + ]; }