Compare commits

...

2 commits

Author SHA1 Message Date
Artemis Tosini fbc75b083f
add perf 2024-10-12 00:47:08 +00:00
Artemis Tosini 813f94e302
starlight: add postgres again 2024-10-12 00:45:51 +00:00
3 changed files with 22 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, config, ... }:
{
programs = {
@ -21,6 +21,8 @@
gdb
ltrace
config.boot.kernelPackages.perf
];
services.nixseparatedebuginfod.enable = true;

View file

@ -11,6 +11,7 @@
./boot-config.nix
./hardware-configuration.nix
./scripts.nix
./postgres.nix
../../sets/builder.nix
../../sets/disc.nix
../../sets/fpga.nix

View file

@ -0,0 +1,18 @@
{ config, pkgs, ... }:
{
services.postgresql = {
enable = true;
package = pkgs.postgresql_16;
enableJIT = true;
extraPlugins = with config.services.postgresql.package.pkgs; [ postgis ];
ensureUsers = [
{
name = "artemis";
ensureClauses.superuser = true;
}
];
};
}