Files
GeorgeRaven ceb85126e9 Added most basic postgresql
Changelog: added
Signed-off-by: GeorgeRaven <GeorgeRavenCommunity@pm.me>
2025-10-25 20:58:24 +01:00

31 lines
727 B
Nix

{
description = "Basic postgresql flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/release-25.05";
flake-utils.url = "github:numtide/flake-utils";
# force subflake dependencies to follow nixpkgs version
# of parent flake
# flake-utils.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
{
self,
nixpkgs,
...
}@inputs:
inputs.flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
in
{
packages.postgresql = pkgs.postgresql;
packages.default = self.packages.${system}.postgresql;
# nix fmt formatter option attributes
formatter = pkgs.nixfmt-tree;
}
);
}