From 7af03d5dae337820dd96795306ceb4394f6e802e Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 30 May 2025 20:45:44 +0200 Subject: modules/river: Move the `river-start` package into the module The package was already tied to the module (via the log file path) and as such should be in the module directory. --- modules/by-name/ri/river/river-start/package.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 modules/by-name/ri/river/river-start/package.nix (limited to 'modules/by-name/ri/river/river-start/package.nix') diff --git a/modules/by-name/ri/river/river-start/package.nix b/modules/by-name/ri/river/river-start/package.nix new file mode 100644 index 00000000..10957cc0 --- /dev/null +++ b/modules/by-name/ri/river/river-start/package.nix @@ -0,0 +1,23 @@ +# nixos-config - My current NixOS configuration +# +# Copyright (C) 2025 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of my nixos-config. +# +# You should have received a copy of the License along with this program. +# If not, see . +{ + writeShellApplication, + river, +}: +writeShellApplication { + name = "river-start"; + text = builtins.readFile ./river-start.sh; + runtimeInputs = [ + river + ]; + meta = { + mainProgram = "river-start"; + }; +} -- cgit 1.4.1