18 lines
309 B
Markdown
18 lines
309 B
Markdown
|
|
# 18-home-manager-module
|
||
|
|
|
||
|
|
This example shows a small reusable Home Manager module.
|
||
|
|
|
||
|
|
It includes:
|
||
|
|
|
||
|
|
- a module stored in `module.nix`,
|
||
|
|
- one option namespace,
|
||
|
|
- one config effect, and
|
||
|
|
- a check that evaluates a throwaway Home Manager configuration.
|
||
|
|
|
||
|
|
Useful commands:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
nix flake show
|
||
|
|
nix flake check
|
||
|
|
```
|