From e0fdbe15501520d44e51ffd7a4d29d2aaeed5d9d Mon Sep 17 00:00:00 2001 From: Benoit Donneaux <benoit@leastauthority.com> Date: Fri, 24 Nov 2023 11:37:32 +0100 Subject: [PATCH] Remove options w/o any implementation Signed-off-by: Benoit Donneaux <benoit@leastauthority.com> --- morph/grid/hro-cloud/storage001-config.nix | 4 ---- morph/grid/hro-cloud/storage002-config.nix | 4 ---- nixos/modules/100tb.nix | 20 -------------------- 3 files changed, 28 deletions(-) diff --git a/morph/grid/hro-cloud/storage001-config.nix b/morph/grid/hro-cloud/storage001-config.nix index 760529bb..39d6d1b2 100644 --- a/morph/grid/hro-cloud/storage001-config.nix +++ b/morph/grid/hro-cloud/storage001-config.nix @@ -6,9 +6,5 @@ "gateway" = "185.225.209.1"; "gatewayInterface" = "eno1"; "grubDeviceID" = "nodev"; #might be wrong - "efiSupport" = true; - #"efiInstallAsRemovable" = true; - "fsIdentifier" = "label"; - #"canTouchEfiVariables" = false; "systemd-boot" = false; } diff --git a/morph/grid/hro-cloud/storage002-config.nix b/morph/grid/hro-cloud/storage002-config.nix index 85b3fc01..9d04bbf8 100644 --- a/morph/grid/hro-cloud/storage002-config.nix +++ b/morph/grid/hro-cloud/storage002-config.nix @@ -6,9 +6,5 @@ "gateway" = "38.170.241.33"; "gatewayInterface" = "eno1"; "grubDeviceID" = "nodev"; #nodev if we want to use efi (double check) - #"canTouchEfiVariables" = false; - "efiSupport" = true; - #"efiInstallAsRemovable" = true; - "fsIdentifier" = "label"; "systemd-boot" = false; } diff --git a/nixos/modules/100tb.nix b/nixos/modules/100tb.nix index ef57324c..55da3783 100644 --- a/nixos/modules/100tb.nix +++ b/nixos/modules/100tb.nix @@ -69,26 +69,6 @@ let example = "wwn-0x5000c500936410b9"; description = "The ID of the disk on which to install grub."; }; - fsIdentifier = lib.mkOption - { type = lib.types.str; - example = "nixos"; - description = "Determines how GRUB will identify devices when generating the configuration file"; - }; - efiInstallAsRemovable = lib.mkOption - { type = lib.types.bool; - example = false; - description = "Whether to invoke grub-install with --removable"; - }; - efiSupport = lib.mkOption - { type = lib.types.bool; - example = false; - description = "Whether GRUB should be built with EFI support. EFI support is only available for GRUB v2."; - }; - canTouchEfiVariables = lib.mkOption - { type = lib.types.bool; - example = false; - description = "Fill later"; - }; systemd-boot = lib.mkOption { type = lib.types.bool; example = false; -- GitLab