diff options
Diffstat (limited to '')
| -rw-r--r-- | pkgs/by-name/sy/systemd-toggle/package.nix (renamed from modules/by-name/lf/lf/wrappers/lm/default.nix) | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/modules/by-name/lf/lf/wrappers/lm/default.nix b/pkgs/by-name/sy/systemd-toggle/package.nix index 42bdc687..04ed576f 100644 --- a/modules/by-name/lf/lf/wrappers/lm/default.nix +++ b/pkgs/by-name/sy/systemd-toggle/package.nix @@ -7,12 +7,17 @@ # # 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}: +{ + writeShellApplication, + systemd, +}: writeShellApplication { - name = "lm"; - text = builtins.readFile ./lm.sh; - - # This is sourced in the shell - inheritPath = true; - bashOptions = []; + name = "systemd-toggle"; + text = builtins.readFile ./systemd-toggle.sh; + runtimeInputs = [ + systemd + ]; + meta = { + mainProgram = "systemd-toggle"; + }; } |
