feat(focus): enable postgresql
This commit is contained in:
parent
8adda87035
commit
30f569afaa
12
spec/focus/postgresql.nix
Normal file
12
spec/focus/postgresql.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ pkgs
|
||||
, config
|
||||
, ...}: {
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
dataDir = "/nix/persist/service/postgresql/${config.services.postgresql.package.psqlSchema}";
|
||||
|
||||
package = pkgs.postgresql_15;
|
||||
};
|
||||
|
||||
global.fs.zfs.mountpoints."/nix/persist/service/postgresql" = "service/postgresql";
|
||||
}
|
Loading…
Reference in a new issue