diff --git a/nixos/modules/deployment.nix b/nixos/modules/deployment.nix
index cbc8766e884be491e0425bce0f1fc3765fb15295..17eb095f836d0ef75a23bad41a318b4a516eda2f 100755
--- a/nixos/modules/deployment.nix
+++ b/nixos/modules/deployment.nix
@@ -35,11 +35,11 @@ in {
   config = {
     # Configure the system to use our binary cache so that deployment updates
     # only require downloading pre-built software, not building it ourselves.
-    nix = {
-      settings.trusted-public-keys = [
+    nix.settings = {
+      trusted-public-keys = [
         "saxtons.private.storage:MplOcEH8G/6mRlhlKkbA8GdeFR3dhCFsSszrspE/ZwY="
       ];
-      settings.substituters = [
+      substituters = [
         "http://saxtons.private.storage"
       ];
     };