From 974c93298d9a4625d24c9716b6a909320582f352 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sun, 12 Feb 2023 22:13:30 +0100 Subject: [PATCH] sail: Install libreddit --- system/hosts/sail.nix | 2 ++ system/nixos/libreddit.nix | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 system/nixos/libreddit.nix diff --git a/system/hosts/sail.nix b/system/hosts/sail.nix index faf354b..70eea7f 100644 --- a/system/hosts/sail.nix +++ b/system/hosts/sail.nix @@ -18,6 +18,8 @@ in (import ../nixos/freshrss.nix (args // { inherit secret; })) + ../nixos/libreddit.nix + (import ../nixos/mastodon.nix (args // { inherit secret; })) ../nixos/synapse.nix diff --git a/system/nixos/libreddit.nix b/system/nixos/libreddit.nix new file mode 100644 index 0000000..9ab9d01 --- /dev/null +++ b/system/nixos/libreddit.nix @@ -0,0 +1,8 @@ +{ + services.libreddit = { + enable = true; + + address = "127.0.0.1"; + port = 8002; + }; +}