Added jupyter to devShell
This commit is contained in:
1 parent
e2abde8b28
commit
97f69bb208
4 files changed
+32
-7
No files matched your search
@@ -0,0 +1,23 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
{
|
||||
options.jupyter = {
|
||||
enable = mkEnableOption "Jupyter";
|
||||
};
|
||||
|
||||
config = mkIf config.jupyter.enable {
|
||||
python.enable = mkDefault true;
|
||||
|
||||
python.packages =
|
||||
p: with p; [
|
||||
jupyter
|
||||
notebook
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user