mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-07 17:41:03 +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";
|
||||
}
|
||||
|
|
@ -18,6 +18,7 @@ rec {
|
|||
|
||||
assertions = import ./assertions.nix { inherit lib; };
|
||||
|
||||
booleans = import ./booleans.nix { inherit lib; };
|
||||
gvariant = import ./gvariant.nix { inherit lib; };
|
||||
maintainers = import ./maintainers.nix;
|
||||
strings = import ./strings.nix { inherit lib; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue