More cleanin

master
Dustin Swan 5 years ago
parent 41a78e21ed
commit 720950141a
Signed by: dustinswan
GPG Key ID: AB49BD6B2B3A6377

@ -1,2 +0,0 @@
#!/bin/sh
open -a Firefox.app "$1"

@ -1,7 +0,0 @@
#/bin/bash
cat /var/lib/acme/dustinswan.com/key.pem \
/var/lib/acme/dustinswan.com/fullchain.pem > \
/home/dustinswan/.weechat/ssl/relay.pem
chown dustinswan.users /home/dustinswan/.weechat/ssl/relay.pem

@ -1,43 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.file.aerc-accounts = {
target = ".config/aerc/accounts.conf";
text = ''[FastMail]
source = maildir://~/Mail/FastMail
from = "Dustin Swan <dustin@dustinswan.com>"
outgoing = ${builtins.getEnv "HOME"}/.nix-profile/bin/msmtp --read-envelope-from
'';
# text = ''[FastMail]
# source = imaps://dustinswan%40fastmail.com@mail.messagingengine.com:993
# from = "Dustin Swan <dustin@dustinswan.com>"
# outgoing = ${builtins.getEnv "HOME"}/.nix-profile/bin/msmtp --read-envelope-from
# sourc-cred-cmd = "gpg -dq ${builtins.getEnv "HOME"}/.dustinswan@fastmail.com-password.gpg"
# '';
};
home.file.khard = {
target = ".config/khard/config";
text = ''[addressbooks]
[[contacts]]
path = ~/Contacts/Default'';
};
home.file.khal = {
target = ".config/khal/config";
text = ''[calendars]
[[Fastmail]]
path = ~/Calendars/*
type = discover
[locale]
timeformat = %H:%M
dateformat = %Y-%m-%d
longdateformat = %Y-%m-%d
datetimeformat = %Y-%m-%d %H:%M
longdatetimeformat = %Y-%m-%d %H:%M'';
};
programs.neomutt = { programs.neomutt = {
enable = true; enable = true;
sidebar.enable = true; sidebar.enable = true;
@ -77,4 +40,83 @@ longdatetimeformat = %Y-%m-%d %H:%M'';
}; };
}; };
}; };
home.file.aerc-accounts = {
target = ".config/aerc/accounts.conf";
text = ''[FastMail]
source = maildir://~/Mail/FastMail
from = "Dustin Swan <dustin@dustinswan.com>"
outgoing = ${builtins.getEnv "HOME"}/.nix-profile/bin/msmtp --read-envelope-from
'';
# text = ''[FastMail]
# source = imaps://dustinswan%40fastmail.com@mail.messagingengine.com:993
# from = "Dustin Swan <dustin@dustinswan.com>"
# outgoing = ${builtins.getEnv "HOME"}/.nix-profile/bin/msmtp --read-envelope-from
# sourc-cred-cmd = "gpg -dq ${builtins.getEnv "HOME"}/.dustinswan@fastmail.com-password.gpg"
# '';
};
home.file.vdirsyncer = {
target = ".config/vdirsyncer/config";
text = ''[general]
status_path = "~/.vdirsyncer/status/"
[pair fastmail_contacts]
a = "fastmail_contacts_local"
b = "fastmail_contacts_remote"
collections = ["from b"]
conflict_resolution = "b wins"
[storage fastmail_contacts_local]
type = "filesystem"
path = "~/Contacts/"
fileext = ".vcf"
[storage fastmail_contacts_remote]
type = "carddav"
url = "https://carddav.messagingengine.com/"
username = "dustinswan@fastmail.com"
password.fetch = ["command", "~/dotfiles/bin/decrypt-password", "dustinswan@fastmail.com"]
[pair fastmail_calendar]
a = "fastmail_calendar_local"
b = "fastmail_calendar_remote"
collections = ["from b"]
conflict_resolution = "b wins"
metadata = ["color", "displayname"]
[storage fastmail_calendar_local]
type = "filesystem"
path = "~/Calendars/"
fileext = ".ics"
[storage fastmail_calendar_remote]
type = "caldav"
url = "https://caldav.messagingengine.com/"
username = "dustinswan@fastmail.com"
password.fetch = ["command", "~/dotfiles/bin/decrypt-password", "dustinswan@fastmail.com"]'';
};
home.file.khard = {
target = ".config/khard/config";
text = ''[addressbooks]
[[contacts]]
path = ~/Contacts/Default'';
};
home.file.khal = {
target = ".config/khal/config";
text = ''[calendars]
[[Fastmail]]
path = ~/Calendars/*
type = discover
[locale]
timeformat = %H:%M
dateformat = %Y-%m-%d
longdateformat = %Y-%m-%d
datetimeformat = %Y-%m-%d %H:%M
longdatetimeformat = %Y-%m-%d %H:%M'';
};
} }

@ -1,37 +0,0 @@
[general]
status_path = "~/.vdirsyncer/status/"
[pair fastmail_contacts]
a = "fastmail_contacts_local"
b = "fastmail_contacts_remote"
collections = ["from b"]
conflict_resolution = "b wins"
[storage fastmail_contacts_local]
type = "filesystem"
path = "~/Contacts/"
fileext = ".vcf"
[storage fastmail_contacts_remote]
type = "carddav"
url = "https://carddav.messagingengine.com/"
username = "dustinswan@fastmail.com"
password.fetch = ["command", "~/dotfiles/bin/decrypt-password", "dustinswan@fastmail.com"]
[pair fastmail_calendar]
a = "fastmail_calendar_local"
b = "fastmail_calendar_remote"
collections = ["from b"]
conflict_resolution = "b wins"
metadata = ["color", "displayname"]
[storage fastmail_calendar_local]
type = "filesystem"
path = "~/Calendars/"
fileext = ".ics"
[storage fastmail_calendar_remote]
type = "caldav"
url = "https://caldav.messagingengine.com/"
username = "dustinswan@fastmail.com"
password.fetch = ["command", "~/dotfiles/bin/decrypt-password", "dustinswan@fastmail.com"]

@ -97,9 +97,6 @@ nnoremap <silent><leader>p4 :! p4 edit %<cr>
nnoremap <leader>v <c-w>v<c-w>l nnoremap <leader>v <c-w>v<c-w>l
nnoremap <leader>s <c-w>s<c-w>j nnoremap <leader>s <c-w>s<c-w>j
" Browser
let g:netrw_browsex_viewer = "browser"
" FZF " FZF
nnoremap <silent> <leader>a :Ag<CR> nnoremap <silent> <leader>a :Ag<CR>
nnoremap <silent> <leader>f :Files<CR> nnoremap <silent> <leader>f :Files<CR>

Loading…
Cancel
Save