From c25368d715aa3edd9e40633c9561e55f5fa07ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KJ=20=C3=98rbekk?= Date: Mon, 12 Jun 2017 10:56:00 -0400 Subject: Pin synapse to nixos-stable. Use state version for postgresql --- config/common.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config/common.nix') diff --git a/config/common.nix b/config/common.nix index 15b49d6..758664f 100644 --- a/config/common.nix +++ b/config/common.nix @@ -23,7 +23,12 @@ ]; time.timeZone = "America/New_York"; + system.stateVersion = "17.04"; services = { + postgresql = { + dataDir = "/var/db/postgresql"; + package = pkgs.postgresql95; + }; openssh.passwordAuthentication = false; }; @@ -34,6 +39,7 @@ gc.automatic = lib.mkDefault true; nixPath = lib.mkBefore [ "orbekk=https://hydra.orbekk.com/project/orbekk-projects/channel/latest/nixexprs.tar.bz2" + "nixpkgs-stable=https://nixos.org/channels/nixos-17.03/nixexprs.tar.xz" "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs" "nixos-config=/etc/nixos/configuration.nix" "/nix/var/nix/profiles/per-user/root/channels" -- cgit v1.2.3