Reorganized
This commit is contained in:
1 parent
c3c61ce654
commit
760815da50
145 files changed
-1444
No files matched your search
@@ -0,0 +1,15 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
{
|
||||
options.cuda = {
|
||||
enable = mkEnableOption "CUDA";
|
||||
};
|
||||
|
||||
config = mkIf config.cuda.enable {
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
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
|
||||
ipykernel
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user