forked from pub-solar/os
teutat3s: add tmate.pub.solar config
This commit is contained in:
parent
7d5f1c89ff
commit
1c61f6f12b
|
@ -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"'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
9
users/teutat3s/.config/tmate/config.nix
Normal file
9
users/teutat3s/.config/tmate/config.nix
Normal 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"
|
||||||
|
''
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue