nix/modules/termscp.nix

22 lines
662 B
Nix

{ config, pkgs, lib, ... }:
{
home.file.${if pkgs.stdenv.isDarwin then "Library/Application Support/termscp/config.toml" else ".config/termscp/config.toml"}.text = ''
# termscp configuration file
# Generated by Nix - see modules/termscp.nix for customization
[user_interface]
text_editor = "${config.home.homeDirectory}/.nix-profile/bin/nvim"
default_protocol = "SFTP"
show_hidden_files = true
check_for_updates = true
prompt_on_file_replace = true
notifications = false
notification_threshold = 536870912
[remote]
ssh_config = "${config.home.homeDirectory}/.ssh/config"
[remote.ssh_keys]
'';
}