summaryrefslogtreecommitdiff
path: root/config/common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'config/common.nix')
-rw-r--r--config/common.nix6
1 files changed, 6 insertions, 0 deletions
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"