declarative containers: improve example config

Container config example code mentions `postgresql` service, but the correct use of that service involves setting `system.stateVersion` option (as discovered in https://github.com/NixOS/nixpkgs/issues/30056).

The actual system state version is set randomly to 17.03 because I have no preferences here
This commit is contained in:
Danylo Hlynskyi 2017-10-05 00:42:50 +00:00 committed by GitHub
parent c42b878ed3
commit dc8500165c

View File

@ -596,6 +596,8 @@ in
{ config, pkgs, ... }:
{ services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql96;
system.stateVersion = "17.03";
};
};
}