diff options
author | Silvan Mosberger <contact@infinisil.com> | 2022-02-28 22:18:28 +0100 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2022-02-28 22:50:06 +0100 |
commit | b2d803ca57ef06b3f681db109d7f6069b2eb9bc1 (patch) | |
tree | c40ebb518b2b34bbbb01869d35b521fba95e1a7b /nixos/modules/system/boot/stage-1.nix | |
parent | f5645dd73bbfa7aba81fbc190fcc78087120a760 (diff) | |
download | nixpkgs-b2d803ca57ef06b3f681db109d7f6069b2eb9bc1.tar nixpkgs-b2d803ca57ef06b3f681db109d7f6069b2eb9bc1.tar.gz nixpkgs-b2d803ca57ef06b3f681db109d7f6069b2eb9bc1.tar.bz2 nixpkgs-b2d803ca57ef06b3f681db109d7f6069b2eb9bc1.tar.lz nixpkgs-b2d803ca57ef06b3f681db109d7f6069b2eb9bc1.tar.xz nixpkgs-b2d803ca57ef06b3f681db109d7f6069b2eb9bc1.tar.zst nixpkgs-b2d803ca57ef06b3f681db109d7f6069b2eb9bc1.zip |
nixos/treewide: Add last missing option types
Co-Authored-By: Janne Heß <janne@hess.ooo>
Diffstat (limited to 'nixos/modules/system/boot/stage-1.nix')
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 1575c0257d1..a85a3675e03 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -581,7 +581,7 @@ in else "gzip" ); defaultText = literalDocBook "<literal>zstd</literal> if the kernel supports it (5.9+), <literal>gzip</literal> if not"; - type = types.unspecified; # We don't have a function type... + type = types.either types.str (types.functionTo types.str); description = '' The compressor to use on the initrd image. May be any of: |