drawterm wrapper

feat/kile-v2
Ricard Illa 2023-02-18 15:46:36 +01:00
parent 670c049a34
commit 0610a9e61f
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,10 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let 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 ]; } in { home.packages = [ pkgs.drawterm drawterm_run ]; }