mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-15 17:50:53 +00:00
f911ebbec9
Closes #2772
5 lines
155 B
Nix
5 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";
|
|
}
|