summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-06-06 13:45:03 +0200
committersils <sils@sils.li>2023-06-06 13:45:03 +0200
commit73480026b00685bc178acb00b55d917c67caad3f (patch)
tree8e0a5f280d8c768f5bf743f0730152bae91a38a6
parentFix(system/services/opensshd): Rename passwordAuthentication to (diff)
downloadnixos-server-73480026b00685bc178acb00b55d917c67caad3f.tar.gz
nixos-server-73480026b00685bc178acb00b55d917c67caad3f.zip
Feat(system/file_system_layout): Add bindmount for postgresql
Diffstat (limited to '')
-rw-r--r--system/file_system_layouts/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/file_system_layouts/default.nix b/system/file_system_layouts/default.nix
index 31b0b0b..4cd9ff1 100644
--- a/system/file_system_layouts/default.nix
+++ b/system/file_system_layouts/default.nix
@@ -44,6 +44,10 @@ in {
         device = "/srv/acme";
         options = ["bind"];
       };
+      "/var/lib/postgresql" = {
+        device = "/srv/postgresql";
+        options = ["bind"];
+      };
     };
   };
 }