diff --git a/hostconfig/gandalf/nixos.nix b/hostconfig/gandalf/nixos.nix index b677df1..7835564 100644 --- a/hostconfig/gandalf/nixos.nix +++ b/hostconfig/gandalf/nixos.nix @@ -71,5 +71,18 @@ ]; }; + services.postgresql = { + enable = true; + ensureUsers = [ + { + name = "traxys"; + ensureClauses = { + superuser = true; + createdb = true; + }; + } + ]; + }; + system.stateVersion = "24.05"; }