From b5442f6657d4245866104989a1f75ec0a5fe06ed Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Thu, 16 Apr 2026 15:22:51 +0200 Subject: Add PostgreSQL version-specific Nix packages --- examples/nixos/flake.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/nixos/flake.nix b/examples/nixos/flake.nix index f97422c..78bc39a 100644 --- a/examples/nixos/flake.nix +++ b/examples/nixos/flake.nix @@ -29,7 +29,12 @@ modules = [ # The following goes typically into ./configuration.nix { - environment.systemPackages = [ inputs.temp-postgres.packages.${system}.default ]; + environment.systemPackages = [ + inputs.temp-postgres.packages.${system}.default + + # Optionally select the PostgreSQL version provided by Nixpkgs. + #inputs.temp-postgres.packages.${system}.temp-postgres_18 + ]; users.users.stefan = { isNormalUser = true; -- cgit v1.3