nixos-config/users/simon/modules/tmate.nix
Simon Bruder 0bbe240018
tmux: Configure system-wide
This is useful on systems that are only accessed as root (e.g.,
servers).
2022-08-25 14:49:22 +02:00

13 lines
206 B
Nix

{ lib, pkgs, ... }:
{
home.packages = with pkgs; [
tmate
];
home.file.".tmate.conf".text = ''
set tmate-authorized-keys "~/.ssh/authorized_keys_tmate"
source-file /etc/tmux.conf
'';
}