aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-02-03 11:36:54 -0500
committerRyan Kavanagh <rak@rak.ac>2023-02-03 11:36:54 -0500
commit3cc6d14e77e73690f95cbcf709b4d8f40b26e8db (patch)
treea47844604565075488853f8865276b3f7be57418
parentMerge remote-tracking branch 'refs/remotes/origin/master' (diff)
fix netrc
-rw-r--r--chezmoi.toml.censored1
-rw-r--r--private_dot_netrc.tmpl14
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 }}