Replace hardcoded dir with hm paths
This commit is contained in:
parent
ef2b09fd48
commit
87550230d8
4 changed files with 28 additions and 23 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.file."Library/Application Support/termscp/config.toml".text = ''
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
# Generated by Nix - see modules/termscp.nix for customization
|
||||
|
||||
[user_interface]
|
||||
text_editor = "/Users/yanlin/.nix-profile/bin/nvim"
|
||||
text_editor = "${config.home.homeDirectory}/.nix-profile/bin/nvim"
|
||||
default_protocol = "SFTP"
|
||||
show_hidden_files = true
|
||||
check_for_updates = true
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
notification_threshold = 536870912
|
||||
|
||||
[remote]
|
||||
ssh_config = "/Users/yanlin/.ssh/config"
|
||||
ssh_config = "${config.home.homeDirectory}/.ssh/config"
|
||||
|
||||
[remote.ssh_keys]
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue