Add tabulate to jupyter
This commit is contained in:
parent
3586a5b2b8
commit
ca1606a6a3
|
@ -15,7 +15,6 @@ in
|
||||||
|
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
appName = "moonforge";
|
|
||||||
stateDir = "/persist/state/var/lib/forgejo";
|
stateDir = "/persist/state/var/lib/forgejo";
|
||||||
mailerPasswordFile = config.sops.secrets.forgejo_mail_password.path;
|
mailerPasswordFile = config.sops.secrets.forgejo_mail_password.path;
|
||||||
|
|
||||||
|
@ -28,7 +27,8 @@ in
|
||||||
|
|
||||||
# See [the cheatsheet](https://docs.gitea.com/next/administration/config-cheat-sheet)
|
# See [the cheatsheet](https://docs.gitea.com/next/administration/config-cheat-sheet)
|
||||||
settings = {
|
settings = {
|
||||||
session.COOKIE_SECURE = true;
|
default.APP_NAME = "moonforge";
|
||||||
|
|
||||||
server = {
|
server = {
|
||||||
DOMAIN = host;
|
DOMAIN = host;
|
||||||
HTTP_PORT = port;
|
HTTP_PORT = port;
|
||||||
|
@ -38,6 +38,7 @@ in
|
||||||
|
|
||||||
cron.ENABLED = true;
|
cron.ENABLED = true;
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
|
session.COOKIE_SECURE = true;
|
||||||
|
|
||||||
mailer = {
|
mailer = {
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
|
|
|
@ -1,11 +1,24 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
# {{{ Jupyterhub/lab env
|
let
|
||||||
let appEnv = pkgs.python3.withPackages (p: with p; [
|
# {{{ Jupyterhub/lab env
|
||||||
|
appEnv = pkgs.python3.withPackages (p: with p; [
|
||||||
jupyterhub
|
jupyterhub
|
||||||
jupyterlab
|
jupyterlab
|
||||||
jupyterhub-systemdspawner
|
jupyterhub-systemdspawner
|
||||||
jupyter-collaboration
|
jupyter-collaboration
|
||||||
]);
|
]);
|
||||||
|
# }}}
|
||||||
|
# {{{ Client wrapper
|
||||||
|
deps = [ ];
|
||||||
|
wrappedAppEnv = pkgs.symlinkJoin {
|
||||||
|
inherit (appEnv) name meta;
|
||||||
|
paths = [ appEnv ];
|
||||||
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
|
postBuild = ''
|
||||||
|
wrapProgram $out/bin/* \
|
||||||
|
--prefix PATH : ${lib.makeBinPath deps}
|
||||||
|
'';
|
||||||
|
};
|
||||||
# }}}
|
# }}}
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -33,6 +46,7 @@ in
|
||||||
numpy
|
numpy
|
||||||
scipy
|
scipy
|
||||||
matplotlib
|
matplotlib
|
||||||
|
tabulate
|
||||||
]));
|
]));
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue