From bd1d868f336a5a2ac9020a4658abebd80bd11d12 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Thu, 20 Jan 2022 20:08:06 +0100 Subject: cyberbox: local postgres for testing purposes --- cyberbox/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cyberbox/configuration.nix b/cyberbox/configuration.nix index 47ffaad..4a372f6 100644 --- a/cyberbox/configuration.nix +++ b/cyberbox/configuration.nix @@ -11,6 +11,12 @@ programs.light.enable = true; programs.slock.enable = true; + services.postgresql.enable = true; + services.postgresql.package = pkgs.postgresql_11; + services.postgresql.authentication = '' + local all all trust + host all all 127.0.0.1/32 trust + ''; # Use the GRUB 2 boot loader. boot.loader.grub.enable = true; @@ -40,6 +46,8 @@ ''}"; }; + + # Enable sound. sound.enable = true; hardware.pulseaudio.enable = true; -- cgit v1.2.3