diff options
author | Ed Cragg <drq.11235@gmail.com> | 2020-05-01 11:43:56 +0100 |
---|---|---|
committer | Ed Cragg <drq.11235@gmail.com> | 2020-05-01 14:46:46 +0100 |
commit | df2f8d915051d3d494ba7cb572c66c84bef84dcf (patch) | |
tree | d3aa1d65f8e2f8cfc0e04ca55179caaaba48c7bf /nixos/modules/services/networking | |
parent | 43a4f128bd9b4ded3919c0ebd8c9aeb2ce5f3988 (diff) | |
download | nixlib-df2f8d915051d3d494ba7cb572c66c84bef84dcf.tar nixlib-df2f8d915051d3d494ba7cb572c66c84bef84dcf.tar.gz nixlib-df2f8d915051d3d494ba7cb572c66c84bef84dcf.tar.bz2 nixlib-df2f8d915051d3d494ba7cb572c66c84bef84dcf.tar.lz nixlib-df2f8d915051d3d494ba7cb572c66c84bef84dcf.tar.xz nixlib-df2f8d915051d3d494ba7cb572c66c84bef84dcf.tar.zst nixlib-df2f8d915051d3d494ba7cb572c66c84bef84dcf.zip |
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
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r-- | nixos/modules/services/networking/thelounge.nix | 1 |
1 files changed, 0 insertions, 1 deletions
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"; |