Compare commits
No commits in common. "8417896cefd29941b660ea7815f8e37bc76558a7" and "d991c9acfbe481a7b56cbc231cb55ed004a33a97" have entirely different histories.
8417896cef
...
d991c9acfb
|
@ -7,6 +7,5 @@
|
||||||
(pkgs.writeShellScriptBin "clean-config" (builtins.readFile ./shell/clean-config.sh))
|
(pkgs.writeShellScriptBin "clean-config" (builtins.readFile ./shell/clean-config.sh))
|
||||||
(pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/rsync-local-config.sh))
|
(pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/rsync-local-config.sh))
|
||||||
(pkgs.writeShellScriptBin "xdg-query-program" (builtins.readFile ./shell/xdg-query-program.sh))
|
(pkgs.writeShellScriptBin "xdg-query-program" (builtins.readFile ./shell/xdg-query-program.sh))
|
||||||
(pkgs.writeShellScriptBin "mount-onedrive" (builtins.readFile ./shell/mount-onedrive.sh))
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,21 +6,33 @@ secret-tool lookup email "$EMAIL" >/dev/null || (
|
||||||
)
|
)
|
||||||
|
|
||||||
EMAIL="e.litherlandsmith@icloud.com"
|
EMAIL="e.litherlandsmith@icloud.com"
|
||||||
secret-tool lookup clear "$EMAIL"
|
secret-tool lookup email "$EMAIL" >/dev/null || (
|
||||||
pass show identity/apple.com/mbsync | head -n1 | secret-tool store --label="iCloud mbsync" email "$EMAIL"
|
pass show identity/apple.com/mbsync |
|
||||||
|
head -n1 |
|
||||||
|
secret-tool store --label="iCloud mbsync" email "$EMAIL"
|
||||||
|
)
|
||||||
|
|
||||||
EMAIL="evie.litherland-smith@ukaea.uk"
|
EMAIL="evie.litherland-smith@ukaea.uk"
|
||||||
secret-tool clear email "$EMAIL"
|
secret-tool lookup email "$EMAIL" >/dev/null || (
|
||||||
pass show work/microsoftonline.com | head -n1 | secret-tool store --label="Outlook mbsync" email "$EMAIL"
|
pass show work/microsoftonline.com |
|
||||||
|
head -n1 |
|
||||||
|
secret-tool store --label="Outlook mbsync" email "$EMAIL"
|
||||||
|
)
|
||||||
|
|
||||||
# Calendar
|
# Calendar
|
||||||
URL="dav.xenia.me.uk"
|
URL="dav.xenia.me.uk"
|
||||||
USER="pixelifytica"
|
USER="pixelifytica"
|
||||||
secret-tool clear url "$URL" user "$USER"
|
secret-tool lookup url "$URL" user "$USER" >/dev/null || (
|
||||||
pass show "server/xenia.me.uk/$URL" | head -n1 | secret-tool store --label="Personal calendar vdirsyncer" url "$URL" user "$USER"
|
pass show "server/xenia.me.uk/$URL" |
|
||||||
|
head -n1 |
|
||||||
|
secret-tool store --label="Personal calendar vdirsyncer" url "$URL" user "$USER"
|
||||||
|
)
|
||||||
|
|
||||||
# GitHub API token
|
# GitHub API token
|
||||||
HOST="api.github.com"
|
HOST="api.github.com"
|
||||||
USER="pixelifytica^forge"
|
USER="pixelifytica^forge"
|
||||||
secret-tool clear host "$HOST" user "$USER"
|
secret-tool lookup host "$HOST" user "$USER" >/dev/null || (
|
||||||
pass show "api/$HOST" | head -n1 | secret-tool store --label="Forge GitHub Token" host "$HOST" user "$USER"
|
pass show "api/$HOST" |
|
||||||
|
head -n1 |
|
||||||
|
secret-tool store --label="Forge GitHub Token" host "$HOST" user "$USER"
|
||||||
|
)
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
ONEDRIVE="$HOME/OneDrive"
|
|
||||||
[ -d "$ONEDRIVE" ] || mkdir -p "$ONEDRIVE"
|
|
||||||
[ -z "$(ls -A "$ONEDRIVE")" ] && rclone --vfs-cache-mode writes mount --daemon OneDrive: "$ONEDRIVE"
|
|
Loading…
Reference in a new issue