teutat3s: add tmate.pub.solar config

This commit is contained in:
teutat3s 2024-02-07 19:10:03 +01:00
parent 7d5f1c89ff
commit 1c61f6f12b
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
3 changed files with 14 additions and 0 deletions

View file

@ -113,5 +113,6 @@ in {
nixos-option = "nixos-option -I nixpkgs=${flake.self}/lib/compat"; nixos-option = "nixos-option -I nixpkgs=${flake.self}/lib/compat";
myip = "dig +short myip.opendns.com @208.67.222.222 2>&1"; myip = "dig +short myip.opendns.com @208.67.222.222 2>&1";
nnn = "nnn -d -e -H -r"; nnn = "nnn -d -e -H -r";
tmate = ''tmate -f "''${XDG_CONFIG_HOME}/tmate/tmate.conf"'';
}; };
} }

View file

@ -0,0 +1,9 @@
{ config, pkgs, ... }:
let
in
''
set -g tmate-server-host "tmate.pub.solar"
set -g tmate-server-port 2222
set -g tmate-server-rsa-fingerprint "SHA256:U/gAwAxU9lw25wb0FKJCK+sLjlGmt8rJGzX7Po/V9tQ"
set -g tmate-server-ed25519-fingerprint "SHA256:JYqAq1Rm1Jq1APiimDaork3pdda4euKfGizzR6jPxgg"
''

View file

@ -55,6 +55,10 @@ in {
inherit config; inherit config;
inherit pkgs; inherit pkgs;
}; };
xdg.configFile."tmate/tmate.conf".text = import ./.config/tmate/config.nix {
inherit config;
inherit pkgs;
};
xdg.configFile."watson/config".text = import ./.config/watson/config.nix { xdg.configFile."watson/config".text = import ./.config/watson/config.nix {
inherit config; inherit config;
inherit pkgs; inherit pkgs;