drawterm wrapper
parent
670c049a34
commit
0610a9e61f
|
@ -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 ]; }
|
||||
|
|
Loading…
Reference in New Issue