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 ++++++ config/orbekk-pkgs.nix | 3 +++ 2 files changed, 9 insertions(+) (limited to 'config') 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" diff --git a/config/orbekk-pkgs.nix b/config/orbekk-pkgs.nix index 7deed49..ce29f59 100644 --- a/config/orbekk-pkgs.nix +++ b/config/orbekk-pkgs.nix @@ -3,8 +3,11 @@ { config, lib, pkgs, ... }: let orbekkPkgs = import {}; + stablePkgs = import {}; in { nixpkgs.config.packageOverrides = pkgs: { + # Broken in nixos-unstable + matrix-synapse = stablePkgs.matrix-synapse; } // orbekkPkgs; } -- cgit v1.2.3