summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2026-04-16 15:22:51 +0200
committerStefan Kreutz <mail@skreutz.com>2026-04-16 15:22:51 +0200
commitb5442f6657d4245866104989a1f75ec0a5fe06ed (patch)
tree3c855ff8abd4fae9750a3b19c28d57ce7c092f6b /examples
parent4ee4e4e3e98479b98e5b92305f0ba3e6cff0c3c6 (diff)
downloadtemp-postgres-b5442f6657d4245866104989a1f75ec0a5fe06ed.tar.gz
Add PostgreSQL version-specific Nix packages
Diffstat (limited to 'examples')
-rw-r--r--examples/nixos/flake.nix7
1 files changed, 6 insertions, 1 deletions
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;
Generated by cgit. See skreutz.com for my tech blog and contact information.