From 179bf31d5edc90c826dacf0b06b149469d8d14fa Mon Sep 17 00:00:00 2001 From: Kleidi Bujari Date: Sat, 5 Apr 2025 14:58:10 -0400 Subject: automate hosts gen and bump nixpkgs --- machines/iso/default.nix | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 machines/iso/default.nix (limited to 'machines/iso') diff --git a/machines/iso/default.nix b/machines/iso/default.nix deleted file mode 100644 index d27b26e..0000000 --- a/machines/iso/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ modulesPath, pkgs, ... }: { - imports = [ - (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") - (modulesPath + "/installer/cd-dvd/channel.nix") - ]; - - nix.settings = { - experimental-features = [ "nix-command" "flakes" ]; - }; - - environment.systemPackages = with pkgs; [ - bash - git - gum - jq - (writeShellScriptBin "xinstall" '' - set -euo pipefail - - FLAKE="github:kbujari/depot/xnet" - - TARGET=$( - nix flake show "$FLAKE" --json 2>/dev/null \ - | jq -r '.["nixosConfigurations"] | keys[] | select(. != "iso")' \ - | gum choose - ) - - gum confirm --default=false "This will erase the selected disk, confirm:" - - echo selected "$FLAKE"#"$TARGET" - '') - ]; -} -- cgit v1.3.1