From 0610a9e61f9d08f5a1661ab27d4e5cc22e531427 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Sat, 18 Feb 2023 15:46:36 +0100 Subject: [PATCH] drawterm wrapper --- home/drawterm/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/home/drawterm/default.nix b/home/drawterm/default.nix index 761d8ad..5ac2614 100644 --- a/home/drawterm/default.nix +++ b/home/drawterm/default.nix @@ -1,4 +1,10 @@ { config, pkgs, ... }: let - drawterm_run = pkgs.callPackage ./drawterm-init.nix { inherit config pkgs; }; + drawterm = "${pkgs.drawterm}/bin/drawterm"; + remote-ip = "10.0.8.128"; + remote-user = "glenda"; + drawterm_run = pkgs.writeScriptBin "drawterm_run" '' + #!${pkgs.dash}/bin/dash + ${drawterm} -a ${remote-ip} -h ${remote-ip} -u ${remote-user} + ''; in { home.packages = [ pkgs.drawterm drawterm_run ]; }