Add development runtimes

This commit is contained in:
2023-01-07 18:58:10 +00:00
parent 1d0f43a118
commit e1b8e670c9
18 changed files with 228 additions and 51 deletions

16
modules/dev/python.nix Normal file
View File

@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
with lib;
with lib.my;
let cfg = config.modules.dev.python;
in {
options.modules.dev.python = {
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {
user.packages = with pkgs; [
python310
];
};
}