mirror of
https://github.com/nix-community/home-manager
synced 2024-06-01 04:23:34 +02:00
55e2a4d341
Closes #2772
6 lines
155 B
Nix
6 lines
155 B
Nix
{ lib }: {
|
|
# Converts a boolean to a yes/no string. This is used in lots of
|
|
# configuration formats.
|
|
yesNo = value: if value then "yes" else "no";
|
|
}
|