about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnomalocaridid <29845794+Anomalocaridid@users.noreply.github.com>2024-05-02 13:43:24 -0400
committerGitHub <noreply@github.com>2024-05-02 17:43:24 +0000
commit52ad64b5487f3036b595d77034df8564fdedfe47 (patch)
tree724d8aa8ebf7c6a51e6f7e9c30d7fd3954c33c98
parent4c85d13a3ac6c71ba0ef3ca9544fa28abb7ceb52 (diff)
nixos/grub: fix documentation for `boot.loader.grub.theme` (#305663)
Closes #233865. Currently, the documentation for `boot.loader.grub.theme` misleadingly implies that it needs a package for a grub theme instead of a path to a grub theme.
-rw-r--r--nixos/modules/system/boot/loader/grub/grub.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/system/boot/loader/grub/grub.nix b/nixos/modules/system/boot/loader/grub/grub.nix
index fe340cfaedb6..9c36651d6874 100644
--- a/nixos/modules/system/boot/loader/grub/grub.nix
+++ b/nixos/modules/system/boot/loader/grub/grub.nix
@@ -6,7 +6,6 @@ let
     concatMap
     concatMapStrings
     concatStrings
-    concatStringsSep
     escapeShellArg
     flip
     foldr
@@ -491,10 +490,10 @@ in
 
       theme = mkOption {
         type = types.nullOr types.path;
-        example = literalExpression "pkgs.nixos-grub2-theme";
+        example = literalExpression ''"''${pkgs.libsForQt5.breeze-grub}/grub/themes/breeze"'';
         default = null;
         description = ''
-          Grub theme to be used.
+          Path to the grub theme to be used.
         '';
       };