Compare commits
2 commits
38acfe1042
...
fbc75b083f
Author | SHA1 | Date | |
---|---|---|---|
Artemis Tosini | fbc75b083f | ||
Artemis Tosini | 813f94e302 |
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
programs = {
|
||||
|
@ -21,6 +21,8 @@
|
|||
|
||||
gdb
|
||||
ltrace
|
||||
|
||||
config.boot.kernelPackages.perf
|
||||
];
|
||||
|
||||
services.nixseparatedebuginfod.enable = true;
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
./boot-config.nix
|
||||
./hardware-configuration.nix
|
||||
./scripts.nix
|
||||
./postgres.nix
|
||||
../../sets/builder.nix
|
||||
../../sets/disc.nix
|
||||
../../sets/fpga.nix
|
||||
|
|
18
system/starlight/postgres.nix
Normal file
18
system/starlight/postgres.nix
Normal 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;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue