Skip to content

Commit

Permalink
doc: init mkFlakeOptions.md
Browse files Browse the repository at this point in the history
generated mkFlake options documentation
  • Loading branch information
Pacman99 committed Mar 30, 2021
1 parent 29845ee commit a7bbd57
Showing 1 changed file with 148 additions and 0 deletions.
148 changes: 148 additions & 0 deletions doc/mkFlakeOptions.md
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"
```


0 comments on commit a7bbd57

Please sign in to comment.