From f13a9e18a742405e239f0c4714fcfe216b18c788 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Wed, 22 Oct 2025 14:10:23 +0200 Subject: [PATCH] rm flake invocation Signed-off-by: Kiara Grouwstra --- flake.nix | 67 ------------------------------------------------------- 1 file changed, 67 deletions(-) diff --git a/flake.nix b/flake.nix index d8e90e73..cab1e641 100644 --- a/flake.nix +++ b/flake.nix @@ -52,73 +52,6 @@ trim-trailing-whitespace.enable = true; shellcheck.enable = true; }; - - # https://192.168.51.81:8006/#v1:0:=node%2Fnode051:4:::::8::=apitokens - - # apps.default = { - # type = "app"; - # program = pkgs.writers.writeBashBin "provision-proxmox.sh" - # { - # makeWrapperArgs = [ - # "--prefix" - # "PATH" - # ":" - # "${lib.makeBinPath [ - # pkgs.jq - # pkgs.httpie - # ]}" - # ]; - # } - # '' - # sh ./infra/proxmox-remove.sh --api-url "https://192.168.51.81:8006/api2/json" --username "kiara@ProcoliX" --password "" 7014 # test14 - # sh ./infra/proxmox-provision.sh --api-url "https://192.168.51.81:8006/api2/json" --username "kiara@ProcoliX" --password "" test14 - # ''; - # }; - - # api_token = "terraform@pve!provider=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" - # kiara@ProcoliX!dsdfsfdsfd=30df234b-02f3-4ed9-b778-00d28ad3499c - - apps.default = - let - inherit (pkgs) system; - # FIXME rewire to defer env var - deployment = pkgs.writeShellScriptBin "my-app-with-environment" '' - export PROXMOX_VE_SSH_USERNAME="kiara@ProcoliX" - export PROXMOX_VE_SSH_PASSWORD="" - ${(import ./deployment/check/common/data-model.nix { - inherit system; - config = { - targetSystem = system; - nodeName = "192.168.51.81"; # root@fediversity-proxmox - pathToRoot = builtins.path { - path = ./.; - name = "root"; - }; - sshOpts = [ ]; - key-file = ""; - node-name = "node051"; - bridge = "ovsbr0"; - vlanId = 1305; - imageDatastoreId = "local"; - vmDatastoreId = "linstor_storage"; - cdDatastoreId = "local-lvm"; - ipv4Gateway = "eth0"; - ipv4Address = ""; - # ipv4Address = "95.215.187.${vm-id}"; - ipv6Gateway = "eth0"; - ipv6Address = ""; - # ipv6Address = "2a00:51c0:13:1305::${vm-id}"; - }; - # opt not to pass `inputs`, as we could only pass serializable arguments through to its self-call - })."tf-proxmox-deployment".tf-proxmox-vm - } - ''; - in - { - type = "app"; - program = deployment.run; - }; - }; } );