24 lines
465 B
Nix
24 lines
465 B
Nix
{ config, lib, pkgs, ... }:
|
|
let
|
|
cfg = config.mfgames-project-setup;
|
|
secretType = types.submodule ({ config, ... }: {
|
|
options = {
|
|
rust = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
});
|
|
in
|
|
{
|
|
options.mfgames-project-setup = {
|
|
rust = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
description = ''
|
|
Enabling this option including tools for handling Rust projects.
|
|
'';
|
|
};
|
|
};
|
|
}
|