meta: Add postgres

Useful for testing purposes without having to spin up a docker
container.
This commit is contained in:
Donovan Glover 2024-01-25 17:32:26 -05:00
parent c7f4111055
commit 68bcfce997
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 10 additions and 0 deletions

View File

@ -18,6 +18,7 @@
./packages.nix
./piper.nix
./pipewire.nix
./postgres.nix
./resolved.nix
./starship.nix
./stylix.nix

9
modules/postgres.nix Normal file
View File

@ -0,0 +1,9 @@
{ pkgs, ... }:
{
services.postgresql.enable = true;
environment.systemPackages = with pkgs; [
pgcli
];
}