diff options
Diffstat (limited to 'ilex/configuration.nix')
-rw-r--r-- | ilex/configuration.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ilex/configuration.nix b/ilex/configuration.nix index 866b1e3..b06a385 100644 --- a/ilex/configuration.nix +++ b/ilex/configuration.nix @@ -7,8 +7,26 @@ { imports = [ ./hardware-configuration.nix + ./uffd-service.nix ]; + + services.postgresql = { + enable = true; + + ensureDatabases = [ "tracktrain" ]; + ensureUsers = [ { + name = "stuebinm"; + ensurePermissions = { + "DATABASE tracktrain" = "ALL PRIVILEGES"; + }; + } ]; + authentication = '' + local all all trust + host all all 127.0.0.1/32 trust + ''; + }; + boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_0; # Use the systemd-boot EFI boot loader. |