mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 07:16:17 +02:00
7275d68d3b
We should use a metric that weighs the related issues. Counterbalancing time doesn't make much sense to me. If it's around for longer, the fix will be relevant to more people.
10 lines
572 B
Markdown
10 lines
572 B
Markdown
---
|
|
synopsis: "Support unit prefixes in configuration settings"
|
|
prs: 10668
|
|
---
|
|
|
|
Configuration settings in Nix now support unit prefixes, allowing for more intuitive and readable configurations. For example, you can now specify [`--min-free 1G`](@docroot@/command-ref/opt-common.md#opt-min-free) to set the minimum free space to 1 gigabyte.
|
|
|
|
This enhancement was extracted from [#7851](https://github.com/NixOS/nix/pull/7851) and is also useful for PR [#10661](https://github.com/NixOS/nix/pull/10661).
|
|
|
|
Author: [**Eelco Dolstra (@edolstra)**](https://github.com/edolstra)
|