summaryrefslogtreecommitdiff
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
parente9057b32aacc3603027bcb27f20aaac5992d7a4b (diff)
add postgresql
-rw-r--r--config/postgresql.nix5
-rw-r--r--machines/x220-aji.nix1
2 files changed, 6 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;
+};
diff --git a/machines/x220-aji.nix b/machines/x220-aji.nix
index 0971205..73d6de0 100644
--- a/machines/x220-aji.nix
+++ b/machines/x220-aji.nix
@@ -4,6 +4,7 @@
../config/desktop.nix
../config/thinkpad.nix
../config/yubikey.nix
+ ../config/postgresql.nix
# ../config/ap.nix
];