diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-05-30 20:45:44 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-05-30 20:45:44 +0200 |
commit | 7af03d5dae337820dd96795306ceb4394f6e802e (patch) | |
tree | 1c7000e9c1f920a7638c5dda4a0153e9721a70c7 /modules/by-name/ri/river/river-start/package.nix | |
parent | modules/lf: Consolidate the `ll` and `lm` wrappers in the module (diff) | |
download | nixos-config-7af03d5dae337820dd96795306ceb4394f6e802e.zip |
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.
Diffstat (limited to 'modules/by-name/ri/river/river-start/package.nix')
-rw-r--r-- | modules/by-name/ri/river/river-start/package.nix | 23 |
1 files changed, 23 insertions, 0 deletions
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 <benedikt.peetz@b-peetz.de> +# 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 <https://www.gnu.org/licenses/gpl-3.0.txt>. +{ + writeShellApplication, + river, +}: +writeShellApplication { + name = "river-start"; + text = builtins.readFile ./river-start.sh; + runtimeInputs = [ + river + ]; + meta = { + mainProgram = "river-start"; + }; +} |