From 3cc6d14e77e73690f95cbcf709b4d8f40b26e8db Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Fri, 3 Feb 2023 11:36:54 -0500 Subject: fix netrc --- chezmoi.toml.censored | 1 + private_dot_netrc.tmpl | 14 ++++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/chezmoi.toml.censored b/chezmoi.toml.censored index b7905b0..3a8f00e 100644 --- a/chezmoi.toml.censored +++ b/chezmoi.toml.censored @@ -3,6 +3,7 @@ [data] keychain_keys = "id_ed25519" password.cmu = "" + password.eseptember = "" password.gmail = "" password.local = "" password.mcgill = "" diff --git a/private_dot_netrc.tmpl b/private_dot_netrc.tmpl index 4bb02f9..99b751f 100644 --- a/private_dot_netrc.tmpl +++ b/private_dot_netrc.tmpl @@ -1,12 +1,18 @@ -{{- if .password.cmu }} +{{ if .password.cmu -}} machine imap.gmail.com login rkavanag@alumni.cmu.edu password {{ .password.cmu }} {{- end }} -{{- if .password.gmail }} +{{ if .password.gmail -}} machine imap.gmail.com login ryanakca@gmail.com password {{ .password.gmail }} {{- end }} -{{- if .password.rakac }} +{{ if .password.rakac -}} machine imap.rak.ac login rak password {{ .password.rakac }} {{- end }} -{{- if .password.socs }} +{{ if .password.socs -}} machine mail.cs.mcgill.ca login ryank password {{ .password.socs }} {{- end }} +{{ if .password.queensu -}} +machine pod51018.outlook.com login 9rak@queensu.ca password {{ .password.queensu }} +{{- end }} +{{ if .password.eseptember -}} +machine news.eternal-september.org login ryanakca force yes password {{ .password.eseptember }} +{{- end }} -- cgit v1.2.3