mirror of
https://git.oat.zone/dark-firepit/dotfiles
synced 2024-11-26 06:08:48 +01: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 = [ ];
|
|
};
|
|
};
|
|
}
|