mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 12:06:13 +01:00
d3e46e5413
Signed-off-by: Magic_RB <magic_rb@redalder.org>
21 lines
374 B
Nix
21 lines
374 B
Nix
{ config, lib, pkgs, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.magic_rb.packageCollections.webdev;
|
|
in
|
|
{
|
|
options.magic_rb.packageCollections.webdev = {
|
|
enable = mkEnableOption
|
|
''
|
|
Enable webdev package collection, contains yarn and wasm-pack.
|
|
'';
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
yarn
|
|
wasm-pack
|
|
];
|
|
};
|
|
}
|