nix-config/home/drawterm/default.nix

11 lines
338 B
Nix
Raw Normal View History

2023-02-18 15:46:08 +01:00
{ config, pkgs, ... }:
let
2023-02-18 15:46:36 +01:00
drawterm = "${pkgs.drawterm}/bin/drawterm";
2023-03-16 17:52:02 +01:00
remote-ip = "10.0.24.108";
2023-02-18 15:46:36 +01:00
remote-user = "glenda";
drawterm_run = pkgs.writeScriptBin "drawterm_run" ''
#!${pkgs.dash}/bin/dash
${drawterm} -a ${remote-ip} -h ${remote-ip} -u ${remote-user}
'';
2023-02-18 15:46:08 +01:00
in { home.packages = [ pkgs.drawterm drawterm_run ]; }