about summary refs log tree commit diff
path: root/modules/postgresql.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postgresql.nix')
-rw-r--r--modules/postgresql.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/postgresql.nix b/modules/postgresql.nix
index f9ea64f..f88831b 100644
--- a/modules/postgresql.nix
+++ b/modules/postgresql.nix
@@ -79,7 +79,7 @@ in
       cfg.extraPostStart != [ ]
     ) concatLines cfg.extraPostStart;
 
-    environment.sessionVariables.PSQLRC = toString (
+    environment.variables.PSQLRC = toString (
       pkgs.writeText "psqlrc" ''
         \set QUIET 1
 

Consider giving Nix/NixOS a try! <3