mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-09 12:20:04 +00:00
🚧 Initial work on generating homeConfigurations output + syntax changes
This commit is contained in:
parent
f139b88c0b
commit
f89cbcc552
12 changed files with 131 additions and 106 deletions
|
@ -1,16 +1,13 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
{lib, ...}: {
|
||||
# Create a NixOS module option on a single line.
|
||||
mkOpt =
|
||||
type: default: description:
|
||||
lib.mkOption { inherit type default description; };
|
||||
mkOpt = type: default: description:
|
||||
lib.mkOption {inherit type default description;};
|
||||
|
||||
mkBool =
|
||||
default: description:
|
||||
lib.mkOption { inherit default description; type = lib.types.bool; };
|
||||
mkBool = default: description:
|
||||
lib.mkOption {
|
||||
inherit default description;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
|
||||
# Todo: add mkIfElse function
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue