summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2020-01-29 04:18:53 -0500
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2020-01-29 04:18:53 -0500
commit0f220c0944124ec33ee29fc4e66a38feb9f05b3e (patch)
tree52495e0273d5edd08cca0375f2d0148600679d2c /config
parente9057b32aacc3603027bcb27f20aaac5992d7a4b (diff)
add postgresql
Diffstat (limited to 'config')
-rw-r--r--config/postgresql.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/postgresql.nix b/config/postgresql.nix
new file mode 100644
index 0000000..8f421a1
--- /dev/null
+++ b/config/postgresql.nix
@@ -0,0 +1,5 @@
+{ config, lib, pkgs, ... }:
+{
+ services.postgresql.enable = true;
+ services.postgresql.package = pkgs.postgresql_11;
+};