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 /pkgs/by-name/ri/river-start | |
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 'pkgs/by-name/ri/river-start')
-rw-r--r-- | pkgs/by-name/ri/river-start/package.nix | 23 | ||||
-rwxr-xr-x | pkgs/by-name/ri/river-start/river-start.sh | 20 |
2 files changed, 0 insertions, 43 deletions
diff --git a/pkgs/by-name/ri/river-start/package.nix b/pkgs/by-name/ri/river-start/package.nix deleted file mode 100644 index 10957cc0..00000000 --- a/pkgs/by-name/ri/river-start/package.nix +++ /dev/null @@ -1,23 +0,0 @@ -# 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"; - }; -} diff --git a/pkgs/by-name/ri/river-start/river-start.sh b/pkgs/by-name/ri/river-start/river-start.sh deleted file mode 100755 index e3a4adcb..00000000 --- a/pkgs/by-name/ri/river-start/river-start.sh +++ /dev/null @@ -1,20 +0,0 @@ -#! /usr/bin/env sh - -# 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>. - -# NOTE: Keep this in sync with the file from `base_init.sh` <2025-02-03> -RIVER_LOG_FILE="$HOME/.local/share/river/log" - -[ -d "$(dirname "$RIVER_LOG_FILE")" ] || mkdir --parents "$(dirname "$RIVER_LOG_FILE")" - -exec river -log-level info >"$RIVER_LOG_FILE" 2>&1 - -# vim: ft=sh |