build: add Bazel Rust workflow
This commit was merged in pull request #2.
This commit is contained in:
17
configs/nixos/modules/monorepo.nix
Normal file
17
configs/nixos/modules/monorepo.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
# Tools for developing this monorepo.
|
||||
let
|
||||
cfg = config.modules.monorepo;
|
||||
in
|
||||
{
|
||||
options.modules.monorepo.enable = lib.mkEnableOption "tools for developing this monorepo";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
modules.shell.bazel.enable = true;
|
||||
modules.shell.rust.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user