From 3ac70ecc13269f4e52a473f52d5c51a32e77c753 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 1 Jun 2019 22:16:14 -0300 Subject: WIP: Move scripts out of README.org into public/nixos/setup.sh --- public/nixos/setup.sh | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) (limited to 'public/nixos') diff --git a/public/nixos/setup.sh b/public/nixos/setup.sh index c1a797a..cfa88b5 100644 --- a/public/nixos/setup.sh +++ b/public/nixos/setup.sh @@ -4,7 +4,10 @@ set -Eeuo pipefail # import GPG key pair -# download git annex +# download git annex from Nextcloud +# wait for Nextcloud to finish sync +# git annex enable +# git annex describe # get annex & # download dotfiles # mr checkout & @@ -14,4 +17,35 @@ set -Eeuo pipefail # restore newsboat from backup # restore archive from backup # open emacs # eval x -# open Nextcloud +# sudo create symlink for /etc/nixos/configuration.nix and /etc/nixos/local-configuration.nix + + +# *** 4. Import GPG keys in new OS +# #+BEGIN_SRC shell +# gpg -o private -d private.gpg +# gpg --import public.gpg +# gpg --import private +# gpg --edit-key EuAndreh + +# # Inside GPG prompt +# trust +# 5 +# quit + +# # end of GPG prompt +# shred private +# shred private.gpg +# rm private +# rm private.gpg +# rm public.gpg +# #+END_SRC +# *** 5. Clone annex repo from HD and setup remotes +# #+BEGIN_SRC shell +# git clone gcrypt::/media/andreh/UTCLOUD/annex.git +# cd annex +# git annex describe here "repo description" +# git annex enableremote hd +# git annex enableremote gitlab +# git annex enableremote rsyncnet +# git annex enableremote s3 +# #+END_SRC -- cgit v1.2.3