-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevaluate-config.nix
56 lines (47 loc) · 1.49 KB
/
evaluate-config.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{ lib
, pkgsStable
, pkgsMaster
}:
config:
lib.evalModules {
specialArgs = {
nixosOptionsToSettingsSchema = pkgsStable.callPackage ./nixos-options-to-settings-schema.nix {};
boilerplate = {
attrsTitle = "Notebook attributes";
attrsDescription = "Notebook cells that have these attributes will match this kernel, allowing it to run the code.";
extensionsTitle = "File extensions";
extensionsDescription = "Files with these extensions will match against this kernel, allowing you to run the code as if it were a Jupyter cell.";
};
};
modules = [
../modules/base.nix
../modules/environment/module.nix
../modules/exporters/module.nix
../modules/kernels/bash/module.nix
../modules/kernels/clojure/module.nix
../modules/kernels/coq/module.nix
../modules/kernels/cpp/module.nix
../modules/kernels/go/module.nix
../modules/kernels/haskell/module.nix
../modules/kernels/julia/module.nix
../modules/kernels/octave/module.nix
../modules/kernels/postgres/module.nix
../modules/kernels/python/module.nix
../modules/kernels/r/module.nix
../modules/kernels/ruby/module.nix
../modules/kernels/rust/module.nix
../modules/language_servers/markdown-spellcheck-lsp/module.nix
../modules/shells/bash/module.nix
../modules/shells/fish/module.nix
../modules/shells/zsh/module.nix
{
config = {
pkgs = pkgsStable;
inherit pkgsMaster;
};
}
{
inherit config;
}
];
}