lol

nixos/jupyter: add env kernel option

+10 -1
+10 -1
nixos/modules/services/development/jupyter/kernel-options.nix
··· 1 1 # Options that can be used for creating a jupyter kernel. 2 - {lib }: 2 + { lib }: 3 3 4 4 with lib; 5 5 ··· 37 37 example = "python"; 38 38 description = lib.mdDoc '' 39 39 Language of the environment. Typically the name of the binary. 40 + ''; 41 + }; 42 + 43 + env = mkOption { 44 + type = types.attrsOf types.str; 45 + default = { }; 46 + example = { OMP_NUM_THREADS = "1"; }; 47 + description = lib.mdDoc '' 48 + Environment variables to set for the kernel. 40 49 ''; 41 50 }; 42 51