From fe0a8240022fb6c42e8b021d44b49a0e0638281b Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 25 Jan 2026 17:16:11 +0100 Subject: pkgs/swallow: Add This provides swallowing for river. --- pkgs/by-name/sw/swallow/package.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/by-name/sw/swallow/package.nix (limited to 'pkgs/by-name/sw/swallow/package.nix') diff --git a/pkgs/by-name/sw/swallow/package.nix b/pkgs/by-name/sw/swallow/package.nix new file mode 100644 index 00000000..16608143 --- /dev/null +++ b/pkgs/by-name/sw/swallow/package.nix @@ -0,0 +1,25 @@ +# 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, + # Dependencies + river-classic, +}: +writeShellApplication { + name = "swallow"; + text = builtins.readFile ./swallow.sh; + + # We need to inherit the path, so that we can spawn stuff in a swallowed mode. + inheritPath = true; + + runtimeInputs = [ + river-classic + ]; +} -- cgit 1.4.1