From df2f8d915051d3d494ba7cb572c66c84bef84dcf Mon Sep 17 00:00:00 2001 From: Ed Cragg Date: Fri, 1 May 2020 11:43:56 +0100 Subject: thelounge: write out default path for thelounge The output file is found and handled by thelounge itself [1], leaving the user free to override THELOUNGE_HOME in the environment if they choose, but having a sensible default to make `thelounge` generally usable in most cases. This solution follows discussion on #70318. [1] https://github.com/thelounge/thelounge/blob/9ef5c6c67e463c1f401e33b21dfb5641636e5ed1/src/command-line/utils.js#L56 --- nixos/modules/services/networking/thelounge.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'nixos/modules/services/networking') diff --git a/nixos/modules/services/networking/thelounge.nix b/nixos/modules/services/networking/thelounge.nix index 875d8f661697..a1b06703484b 100644 --- a/nixos/modules/services/networking/thelounge.nix +++ b/nixos/modules/services/networking/thelounge.nix @@ -62,7 +62,6 @@ in { systemd.services.thelounge = { description = "The Lounge web IRC client"; wantedBy = [ "multi-user.target" ]; - environment = { THELOUNGE_HOME = dataDir; }; preStart = "ln -sf ${pkgs.writeText "config.js" configJsData} ${dataDir}/config.js"; serviceConfig = { User = "thelounge"; -- cgit 1.4.1