22 lines
351 B
Nix
22 lines
351 B
Nix
|
{ pkgs, lib, options, config, ... }:
|
||
|
|
||
|
with lib;
|
||
|
let
|
||
|
cfg = config.modules.dev.python;
|
||
|
in {
|
||
|
options.modules.dev.python = {
|
||
|
enable = mkOption {
|
||
|
type = types.bool;
|
||
|
default = false;
|
||
|
};
|
||
|
packages = mkOption {
|
||
|
type = types.listOf types.package;
|
||
|
default = [];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
# TODO
|
||
|
};
|
||
|
}
|