-
Notifications
You must be signed in to change notification settings - Fork 0
Modules
L3af edited this page May 18, 2021
·
4 revisions
All home-manager and system program configuration parts are exported and can be imported on a per program config.
Most modules include the option to pass a specific config attribute set which can be used to customize certain parts so that you aren't locked into the exact same config, the specification for these can be found under each module information.
These won't be specified in each specific module as they're always the same.
Name | Type | Required |
---|---|---|
pkgs |
path |
true |
lib |
attrset |
false |
enable |
bool |
false |
The path to nixpkgs, used to access packages and lib
(if lib
option not specified)
- Type:
path
- Required:
true
- Example(s):
nixpkgs
import <nixpkgs>
import /path/to/nixpkgs
The nixpks library stuffs.
- Type:
attrset
- Required:
false
- Default:
pkgs.lib
- Example(s):
nixpkgs.lib
Whether to enable the imported module.
- Type:
bool
- Required:
false
- Default:
true
- Example(s):
false