From 69247cdf75796c69372a17d09beb1466315b1839 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Fri, 27 Jan 2023 20:37:46 +0100 Subject: working uffd on ilex for testing oauth2 (just keeping this in a seperate branch in case i ever need it again) --- ilex/configuration.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'ilex/configuration.nix') 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. -- cgit v1.2.3