summaryrefslogtreecommitdiffstats
path: root/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
diff options
context:
space:
mode:
authorRyan Lahfa <masterancpp@gmail.com>2024-01-11 01:00:43 +0100
committerGitHub <noreply@github.com>2024-01-11 01:00:43 +0100
commit176e84d44faa4dec9f5e0aad74e0dcd455a278d8 (patch)
tree63d0f84f0749973c4231f6e516158d051c0d1201 /nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
parent1097a6b555658637ba4ad50fa8614560843ffbdf (diff)
Revert "nixos/systemd-boot: init boot counting"
Diffstat (limited to 'nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix')
-rw-r--r--nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix16
1 files changed, 1 insertions, 15 deletions
diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
index 3a4173210f5f..9d55c21077d1 100644
--- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
+++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
@@ -49,8 +49,6 @@ let
${pkgs.coreutils}/bin/install -D $empty_file "${efi.efiSysMountPoint}/efi/nixos/.extra-files/loader/entries/"${escapeShellArg n}
'') cfg.extraEntries)}
'';
- bootCountingTrials = cfg.bootCounting.trials;
- bootCounting = if cfg.bootCounting.enable then "True" else "False";
};
checkedSystemdBootBuilder = pkgs.runCommand "systemd-boot" {
@@ -71,10 +69,7 @@ let
'';
in {
- meta = {
- maintainers = with lib.maintainers; [ julienmalka ];
- doc = ./boot-counting.md;
- };
+ meta.maintainers = with lib.maintainers; [ julienmalka ];
imports =
[ (mkRenamedOptionModule [ "boot" "loader" "gummiboot" "enable" ] [ "boot" "loader" "systemd-boot" "enable" ])
@@ -243,15 +238,6 @@ in {
'';
};
- bootCounting = {
- enable = mkEnableOption (lib.mdDoc "automatic boot assessment");
- trials = mkOption {
- default = 3;
- type = types.int;
- description = lib.mdDoc "number of trials each entry should start with";
- };
- };
-
};
config = mkIf cfg.enable {