about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authornikstur <nikstur@outlook.com>2023-10-31 10:13:01 +0100
committerGitHub <noreply@github.com>2023-10-31 10:13:01 +0100
commitb984b2691a4b577ab53b8dfcd3cdb3cd9efb8751 (patch)
treef51a24fa7a1877585b2892d6af4a368eb809aa85 /nixos/modules
parent77eb94fa5c5ef665763d36ae5c5fea4b682c4353 (diff)
parentea3ca0b1e3a9e9a4be4bbb313fc0343c50d3c90c (diff)
downloadnixlib-b984b2691a4b577ab53b8dfcd3cdb3cd9efb8751.tar
nixlib-b984b2691a4b577ab53b8dfcd3cdb3cd9efb8751.tar.gz
nixlib-b984b2691a4b577ab53b8dfcd3cdb3cd9efb8751.tar.bz2
nixlib-b984b2691a4b577ab53b8dfcd3cdb3cd9efb8751.tar.lz
nixlib-b984b2691a4b577ab53b8dfcd3cdb3cd9efb8751.tar.xz
nixlib-b984b2691a4b577ab53b8dfcd3cdb3cd9efb8751.tar.zst
nixlib-b984b2691a4b577ab53b8dfcd3cdb3cd9efb8751.zip
Merge pull request #264475 from blitz/repart-docs
nixos/image: fix documentation build
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/image/repart.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/image/repart.nix b/nixos/modules/image/repart.nix
index e567485c9d34..926791d85701 100644
--- a/nixos/modules/image/repart.nix
+++ b/nixos/modules/image/repart.nix
@@ -90,9 +90,7 @@ in
 
     package = lib.mkPackageOption pkgs "systemd-repart" {
       default = "systemd";
-      example = lib.literalExpression ''
-        pkgs.systemdMinimal.override { withCryptsetup = true; }
-      '';
+      example = "pkgs.systemdMinimal.override { withCryptsetup = true; }";
     };
 
     partitions = lib.mkOption {