From f55eb4e05fb3eaf6a1af5ff0f167029963d54528 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 19 Aug 2023 15:05:28 +0530 Subject: [PATCH] enable postgresql --- hosts/rico1/services/default.nix | 2 +- hosts/rico1/services/postgresql.nix | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 hosts/rico1/services/postgresql.nix diff --git a/hosts/rico1/services/default.nix b/hosts/rico1/services/default.nix index 46968a6..c717309 100644 --- a/hosts/rico1/services/default.nix +++ b/hosts/rico1/services/default.nix @@ -1,3 +1,3 @@ {...}: { - imports = [./caddy.nix ./frpc.nix ./ssh.nix]; + imports = [./caddy.nix ./frpc.nix ./postgresql.nix ./ssh.nix]; } diff --git a/hosts/rico1/services/postgresql.nix b/hosts/rico1/services/postgresql.nix new file mode 100644 index 0000000..4dcf6e6 --- /dev/null +++ b/hosts/rico1/services/postgresql.nix @@ -0,0 +1,5 @@ +_: { + services.postgresql = { + enable = true; + }; +}