mirror of
https://git.oat.zone/dark-firepit/dotfiles
synced 2024-05-14 15:06:08 +02:00
18 lines
304 B
Nix
18 lines
304 B
Nix
|
{ config, lib, options, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
let
|
||
|
cfg = config.modules.dev.nodejs;
|
||
|
in {
|
||
|
options.modules.dev.nodejs = {
|
||
|
enable = mkOption {
|
||
|
type = types.bool;
|
||
|
default = false;
|
||
|
};
|
||
|
packages = mkOption {
|
||
|
type = types.listOf types.attrs;
|
||
|
default = [ ];
|
||
|
};
|
||
|
};
|
||
|
}
|