aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/services/development/jupyterhub
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2020-08-06 07:52:39 -0400
committerJon <jonringer@users.noreply.github.com>2020-08-10 10:03:43 -0700
commit2147589c7a80971ef54e04142ed9f084c244077d (patch)
treeff3b397a42b6a8939dad2d48bb07c4b0b887d114 /nixos/modules/services/development/jupyterhub
parent228f08035d4be4a4cf67ef489fcc0a0bd9d85ddd (diff)
pythonPackages.systemdspawner: init at 0.14
Diffstat (limited to 'nixos/modules/services/development/jupyterhub')
-rw-r--r--nixos/modules/services/development/jupyterhub/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/development/jupyterhub/default.nix b/nixos/modules/services/development/jupyterhub/default.nix
index 3e2d0979214b..be6aaed93ac6 100644
--- a/nixos/modules/services/development/jupyterhub/default.nix
+++ b/nixos/modules/services/development/jupyterhub/default.nix
@@ -67,8 +67,8 @@ in {
this is a python file.
'';
example = literalExample ''
- c.SystemdSpawner.memory = "8G"
- c.SystemdSpawner.cpus = "2"
+ c.SystemdSpawner.mem_limit = '8G'
+ c.SystemdSpawner.cpu_limit = 2.0
'';
};