From 9ede4a41f80c0eb72d6d5a75dc24c63787b676ef Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Tue, 21 Oct 2025 14:45:50 +0200 Subject: [PATCH] rm unused options Signed-off-by: Kiara Grouwstra --- .../check/data-model-tf-proxmox/nixosTest.nix | 3 - .../check/data-model-tf-proxmox/options.nix | 78 ------------------- deployment/check/data-model-tf/options.nix | 25 ------ 3 files changed, 106 deletions(-) delete mode 100644 deployment/check/data-model-tf-proxmox/options.nix delete mode 100644 deployment/check/data-model-tf/options.nix diff --git a/deployment/check/data-model-tf-proxmox/nixosTest.nix b/deployment/check/data-model-tf-proxmox/nixosTest.nix index 39ce13e7..29f609d7 100644 --- a/deployment/check/data-model-tf-proxmox/nixosTest.nix +++ b/deployment/check/data-model-tf-proxmox/nixosTest.nix @@ -42,9 +42,6 @@ let in { _class = "nixosTest"; - imports = [ - ./options.nix - ]; name = "deployment-model"; sourceFileset = lib.fileset.unions [ ../../run/tf-proxmox/run.sh diff --git a/deployment/check/data-model-tf-proxmox/options.nix b/deployment/check/data-model-tf-proxmox/options.nix deleted file mode 100644 index 3a865236..00000000 --- a/deployment/check/data-model-tf-proxmox/options.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ - lib, - ... -}: -let - inherit (lib) mkOption types; -in -{ - options = { - targetSystem = mkOption { - type = types.str; - description = "name of the host to deploy to"; - }; - sshOpts = mkOption { - description = "Extra SSH options (`-o`) to use."; - type = types.listOf types.str; - default = [ ]; - example = "ConnectTimeout=60"; - }; - httpBackend = mkOption { - description = "environment variables to configure the TF HTTP back-end, see "; - type = types.attrsOf (types.either types.str types.int); - }; - key-file = mkOption { - type = types.str; - default = ""; - }; - node-name = mkOption { - description = "the name of the ProxmoX node to use."; - type = types.str; - }; - bridge = mkOption { - description = "The name of the network bridge (defaults to vmbr0)."; - type = types.str; - default = "vmbr0"; - }; - vlanId = mkOption { - description = "The VLAN identifier."; - type = types.int; - default = 0; - }; - imageDatastoreId = mkOption { - description = "ID of the datastore of the image."; - type = types.str; - default = "local"; - }; - vmDatastoreId = mkOption { - description = "ID of the datastore of the VM."; - type = types.str; - default = "local"; - }; - cdDatastoreId = mkOption { - description = "ID of the datastore of the virtual CD-rom drive to use for cloud-init."; - type = types.str; - default = "local"; - }; - ipv4Gateway = mkOption { - description = "Gateway for IPv4."; - type = types.str; - default = ""; - }; - ipv4Address = mkOption { - description = "IPv4 address."; - type = types.str; - default = ""; - }; - ipv6Gateway = mkOption { - description = "Gateway for IPv6."; - type = types.str; - default = ""; - }; - ipv6Address = mkOption { - description = "IPv6 address."; - type = types.str; - default = ""; - }; - }; -} diff --git a/deployment/check/data-model-tf/options.nix b/deployment/check/data-model-tf/options.nix deleted file mode 100644 index 0e415cf7..00000000 --- a/deployment/check/data-model-tf/options.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ - lib, - ... -}: -let - inherit (lib) mkOption types; -in -{ - options = { - targetSystem = mkOption { - type = types.str; - description = "name of the host to deploy to"; - }; - sshOpts = mkOption { - description = "Extra SSH options (`-o`) to use."; - type = types.listOf types.str; - default = [ ]; - example = "ConnectTimeout=60"; - }; - httpBackend = mkOption { - description = "environment variables to configure the TF HTTP back-end, see "; - type = types.attrsOf (types.either types.str types.int); - }; - }; -}