summaryrefslogtreecommitdiff
path: root/cyberbox
diff options
context:
space:
mode:
authorstuebinm2022-01-20 20:08:06 +0100
committerstuebinm2022-01-20 20:08:55 +0100
commitbd1d868f336a5a2ac9020a4658abebd80bd11d12 (patch)
treebbc198954d4ca75ce2399708c31823f71b3cd1dc /cyberbox
parentd74de5d10e103186cf58553570ee1bcbc78a383b (diff)
cyberbox: local postgres for testing purposes
Diffstat (limited to 'cyberbox')
-rw-r--r--cyberbox/configuration.nix8
1 files changed, 8 insertions, 0 deletions
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;