diff --git a/hostconfig/ZeNixComputa/nixos.nix b/hostconfig/ZeNixComputa/nixos.nix index d80a6c2..79c956d 100644 --- a/hostconfig/ZeNixComputa/nixos.nix +++ b/hostconfig/ZeNixComputa/nixos.nix @@ -44,6 +44,17 @@ hardware.ckb-next.enable = true; + services.postgresql = { + enable = true; + ensureUsers = [ + { + name = "traxys"; + ensurePermissions = {"DATABASE \"list\"" = "ALL PRIVILEGES";}; + } + ]; + ensureDatabases = ["list"]; + }; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave