mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 03:21:35 +01:00
Add test postgres environment for pc
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
@@ -9,6 +9,16 @@
|
||||
|
||||
networking.hostName = "pc";
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_15;
|
||||
ensureDatabases = [ "dcbot" ];
|
||||
authentication = pkgs.lib.mkOverride 10 ''
|
||||
#type database DBuser auth-method
|
||||
local all all trust
|
||||
'';
|
||||
};
|
||||
|
||||
home-manager.users.thiloho = { pkgs, lib, ... }: {
|
||||
programs.git.signing.key = "5ECD00BDC15A987E";
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
Reference in New Issue
Block a user