summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
];