mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 03:21:35 +01:00
Move postgres to shared module
This commit is contained in:
@@ -32,15 +32,6 @@
|
||||
dataDir = "/home/thiloho";
|
||||
openDefaultPorts = true;
|
||||
};
|
||||
postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_15;
|
||||
ensureDatabases = [ "dcbot" "todos" ];
|
||||
authentication = lib.mkForce ''
|
||||
local all all trust
|
||||
host all all ::1/128 trust
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
programs.adb.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user