nixos/jupyter: add env kernel option
This commit is contained in:
parent
ba187fbdc5
commit
5b520df32f
1 changed files with 10 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
# Options that can be used for creating a jupyter kernel.
|
||||
{lib }:
|
||||
{ lib }:
|
||||
|
||||
with lib;
|
||||
|
||||
|
@ -40,6 +40,15 @@ with lib;
|
|||
'';
|
||||
};
|
||||
|
||||
env = mkOption {
|
||||
type = types.attrsOf types.str;
|
||||
default = { };
|
||||
example = { OMP_NUM_THREADS = "1"; };
|
||||
description = lib.mdDoc ''
|
||||
Environment variables to set for the kernel.
|
||||
'';
|
||||
};
|
||||
|
||||
logo32 = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
|
|
Loading…
Reference in a new issue