From 127117d52e74a1dda4909012618864178fce5fcd Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Sun, 16 Apr 2023 22:38:10 +0200 Subject: [PATCH] [Boot] Greatly reduce configurationLimit, slightly raise it when developer mode is enabled --- boot.nix | 2 +- desktop/developer.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/boot.nix b/boot.nix index ae5fc1a..3de1d8f 100644 --- a/boot.nix +++ b/boot.nix @@ -130,7 +130,7 @@ in { configurationLimit = mkOption { description = "Maximum number of generations in the boot menu"; - default = 30; + default = 3; example = null; type = types.int; }; diff --git a/desktop/developer.nix b/desktop/developer.nix index 2782f74..376c17d 100644 --- a/desktop/developer.nix +++ b/desktop/developer.nix @@ -71,6 +71,8 @@ in { "doc" "info" "dev" "debug" "static" ]; + aviallon.boot.configurationLimit = mkDefault 10; + aviallon.programs.allowUnfreeList = [ "tabnine" "clion" "Oracle_VM_VirtualBox_Extension_Pack" "virtualbox"