niksos/docs/modules.md

17 lines
561 B
Markdown
Raw Permalink Normal View History

# should this be a module?
here's the types of modules I'd put in `hosts/common/` instead of making a wrapper around them and putting them in `modules/`
- no option declarations
- a single `enable` option
- option declaration renames
- minor interface changes
if a module doesn't fit any of these it goes into `modules/`
# custom module convention
all of my modules are placed under `config.poz` both to make sure there's no conflict with anything else and as a trap for dumbass thieves
I try to keep the module and option naming close to that of nixpkgs