Browse Source

populateTmpfs: /run/keys -> /run/plops-keys

Ingolf Wanger 9 months ago
parent
commit
35a767047d
3 changed files with 5 additions and 5 deletions
  1. 2 2
      README.md
  2. 2 2
      default.nix
  3. 1 1
      doc/50_tmpfs.md

+ 2 - 2
README.md

@@ -76,8 +76,8 @@ tmpfs
 
 `plops` can populate your files and folders everywhere you want. It
 comes with a function `populateTmpfs` which populates the files and
-folders in `/run/keys/<name>`. So these keys will be gone after a
-restart of the machine.
+folders in `/run/plops-secrets/<name>`. So these keys will be gone after
+a restart of the machine.
 
 You can reference theses folder in your `configuration.nix` like all the
 other sources. For this example it would be `<secrets/my-secret-key>`.

+ 2 - 2
default.nix

@@ -37,7 +37,7 @@ core = {
                   ${target.user}@${target.host} -p ${target.port} \
                   nixos-rebuild switch \
                   -I ${target.path} \
-                  -I "/run/keys"
+                  -I "/run/plops-secrets"
   '';
 };
 
@@ -59,7 +59,7 @@ ops = {
   populateTmpfs = sources: target:
   with lib;
   let
-    tmpfs = "/run/keys/";
+    tmpfs = "/run/plops-secrets/";
   in
   core.populate (target // { path = tmpfs; }) sources;
 

+ 1 - 1
doc/50_tmpfs.md

@@ -2,7 +2,7 @@
 
 `plops` can populate your files and folders everywhere you want.
 It comes with a function `populateTmpfs`
-which populates the files and folders in `/run/keys/<name>`.
+which populates the files and folders in `/run/plops-secrets/<name>`.
 So these keys will be gone after a restart of the machine.
 
 You can reference theses folder in your `configuration.nix`