mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
parent
55779b20cd
commit
f911ebbec9
17 changed files with 51 additions and 56 deletions
5
modules/lib/booleans.nix
Normal file
5
modules/lib/booleans.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue