nix-config/home/modules/drawterm/default.nix

11 lines
338 B
Nix

{ config, pkgs, ... }:
let
drawterm = "${pkgs.drawterm}/bin/drawterm";
remote-ip = "10.0.24.108";
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 ]; }