summary refs log tree commit diff
path: root/nixos/modules/services/development
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
parent228f08035d4be4a4cf67ef489fcc0a0bd9d85ddd (diff)
downloadnixpkgs-2147589c7a80971ef54e04142ed9f084c244077d.tar
nixpkgs-2147589c7a80971ef54e04142ed9f084c244077d.tar.gz
nixpkgs-2147589c7a80971ef54e04142ed9f084c244077d.tar.bz2
nixpkgs-2147589c7a80971ef54e04142ed9f084c244077d.tar.lz
nixpkgs-2147589c7a80971ef54e04142ed9f084c244077d.tar.xz
nixpkgs-2147589c7a80971ef54e04142ed9f084c244077d.tar.zst
nixpkgs-2147589c7a80971ef54e04142ed9f084c244077d.zip
pythonPackages.systemdspawner: init at 0.14
Diffstat (limited to 'nixos/modules/services/development')
-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 3e2d0979214..be6aaed93ac 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
       '';
     };