fix: tramp crashing emacs

This commit is contained in:
Swarsel 2024-10-04 10:40:41 +02:00
parent d17bf0a5f3
commit eff1e42c58
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
11 changed files with 354 additions and 47 deletions

View file

@ -25,6 +25,12 @@ in
wireguardpriv = { };
wireguardpub = { };
wireguardendpoint = { };
stashuser = { };
stashpass = { };
githubforgeuser = { };
githubforgepass = { };
gitlabforgeuser = { };
gitlabforgepass = { };
};
templates = {
"network-manager.env".content = ''
@ -40,6 +46,14 @@ in
WIREGUARDPUB=${config.sops.placeholder.wireguardpub}
WIREGUARDENDPOINT=${config.sops.placeholder.wireguardendpoint}
'';
".authinfo" = {
path = "${config.users.users.swarsel.home}/.emacs.d/.authinfo";
content = ''
machine stash.swarsel.win:443 port https login ${config.sops.placeholder.stashuser} password ${config.sops.placeholder.stashpass}
machine gitlab.com/api/v4 login ${config.sops.placeholder.githubforgeuser} password glpat-72Wpzs2uuz--LfNHZFzW ${config.sops.placeholder.githubforgepass}
machine api.github.com login ${config.sops.placeholder.gitlabforgeuser} password ${config.sops.placeholder.gitlabforgepass}
'';
};
};
};
}