about summary refs log tree commit diff
path: root/modules/postgresql.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-25 22:16:47 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-25 22:16:47 +0300
commit364e8a98ad25127f2a51696ec03729e3a783044f (patch)
tree1ac46553d1dca1259da539eddc7db100eaf5c137 /modules/postgresql.nix
parent2024-05-05 (diff)
2024-05-25
Diffstat (limited to '')
-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