-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generated mkFlake options documentation
- Loading branch information
Pacman99
committed
Mar 30, 2021
1 parent
cb2ef14
commit ba81137
Showing
1 changed file
with
148 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
## extern | ||
Function with argument 'inputs' with all devos and this flake's inputs. | ||
The function should return an attribute set with modules, overlays, and | ||
specialArgs to be included across devos | ||
|
||
|
||
*_Type_*: | ||
function that evaluates to a(n) attrs | ||
|
||
*_Default_* | ||
``` | ||
"${self}/extern" | ||
``` | ||
|
||
|
||
## hosts | ||
Path to directory containing host configurations | ||
|
||
*_Type_*: | ||
path | ||
|
||
*_Default_* | ||
``` | ||
"${self}/hosts" | ||
``` | ||
|
||
|
||
## modules | ||
list of modules to include in confgurations | ||
|
||
*_Type_*: | ||
list of anythings | ||
|
||
*_Default_* | ||
``` | ||
"${self}/modules/module-list.nix" | ||
``` | ||
|
||
|
||
## overlays | ||
path to folder containing overlays which will be applied to pkgs | ||
|
||
*_Type_*: | ||
path | ||
|
||
*_Default_* | ||
``` | ||
"${self}/overlays" | ||
``` | ||
|
||
|
||
## overrides | ||
attrset of packages and modules that will be pulled from nixpkgs master | ||
|
||
*_Type_*: | ||
attribute set | ||
|
||
*_Default_* | ||
``` | ||
"${self}/overrides" | ||
``` | ||
|
||
|
||
## packages | ||
Overlay for custom packages that will be included in treewide 'pkgs'. | ||
This should follow the standard nixpkgs overlay format - two argument function | ||
that returns an attrset. | ||
|
||
|
||
*_Type_*: | ||
Nixpkgs overlay | ||
|
||
*_Default_* | ||
``` | ||
"${self}/pkgs" | ||
``` | ||
|
||
|
||
## profiles | ||
path to profiles folder | ||
|
||
*_Type_*: | ||
path | ||
|
||
*_Default_* | ||
``` | ||
"${self}/profiles" | ||
``` | ||
|
||
|
||
## self | ||
The flake to create the devos outputs for | ||
|
||
*_Type_*: | ||
attribute set | ||
|
||
|
||
|
||
## suites | ||
function with inputs 'users' and 'profiles' that returns attribute 'system' | ||
which defines suites passed to configurations as the suites specialArg | ||
|
||
|
||
*_Type_*: | ||
function that evaluates to a(n) attrs | ||
|
||
*_Default_* | ||
``` | ||
"${self}/suites" | ||
``` | ||
|
||
|
||
## userModules | ||
list of modules to include in home-manager configurations | ||
|
||
*_Type_*: | ||
list of anythings | ||
|
||
*_Default_* | ||
``` | ||
"${self}/users/modules/module-list.nix" | ||
``` | ||
|
||
|
||
## userProfiles | ||
path to user profiles folder | ||
|
||
*_Type_*: | ||
path | ||
|
||
*_Default_* | ||
``` | ||
"${self}/users/profiles" | ||
``` | ||
|
||
|
||
## users | ||
path to folder containing user profiles | ||
|
||
*_Type_*: | ||
path | ||
|
||
*_Default_* | ||
``` | ||
"${self}/users" | ||
``` | ||
|
||
|