diff --git a/morph/lib/make-storage.nix b/morph/lib/make-storage.nix index 0c556befc096f0fb8fa4476e6bad234e3e9231a2..a9c968c285cf7c252a72b9fb90608a1138c85c66 100644 --- a/morph/lib/make-storage.nix +++ b/morph/lib/make-storage.nix @@ -3,6 +3,7 @@ , hardware # The path to the hardware configuration for this node. , publicStoragePort # The storage port number on which to accept connections. , ristrettoSigningKeyPath # The *local* path to the Ristretto signing key file. +, passValue # Bytes component of size×time value of passes. , sshUsers # Users for which to configure SSH access to this node. , stateVersion # The value for system.stateVersion on this node. # This value determines the NixOS release with @@ -57,6 +58,8 @@ inherit publicStoragePort; # Give it the Ristretto signing key, too, to support authorization. ristrettoSigningKeyPath = deployment.secrets.ristretto-signing-key.destination; + # Assign the configured pass value. + inherit passValue; # It gets the users, too. inherit sshUsers; }; diff --git a/morph/lib/make-testing.nix b/morph/lib/make-testing.nix index df8eb006b3234d5e127a334a401c9079d5adc2fb..bb254d1aa3ef9dd3edaf93693b2bd52f1e42a74c 100644 --- a/morph/lib/make-testing.nix +++ b/morph/lib/make-testing.nix @@ -1,4 +1,4 @@ -{ publicIPv4, hardware, publicStoragePort, ristrettoSigningKeyPath, sshUsers, stateVersion, ... }: rec { +{ publicIPv4, hardware, publicStoragePort, ristrettoSigningKeyPath, passValue, sshUsers, stateVersion, ... }: rec { deployment = { secrets = { @@ -26,6 +26,7 @@ inherit publicIPv4; inherit publicStoragePort; ristrettoSigningKeyPath = deployment.secrets.ristretto-signing-key.destination; + inherit passValue; inherit sshUsers; };