diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix
index 5e7a44b5..5a328ecd 100644
--- a/modules/programs/bash.nix
+++ b/modules/programs/bash.nix
@@ -67,8 +67,8 @@ in {
       };
 
       historyControl = mkOption {
-        type =
-          types.listOf (types.enum [ "erasedups" "ignoredups" "ignorespace" ]);
+        type = types.listOf
+          (types.enum [ "erasedups" "ignoredups" "ignorespace" "ignoreboth" ]);
         default = [ ];
         description = "Controlling how commands are saved on the history list.";
       };