diff --git a/README.md b/README.md index f18f7b85..253cd963 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ nix develop -c /etc/nixos/git/docs/setup.sh * Add the nix lsp - [Link](https://github.com/nix-community/rnix-lsp) * [x] Fix Grafana * [x] Build a better dashboard to monitor all my nixified devices -* [ ] Look into Remote Builds - [Link](https://nixos.org/manual/nix/stable/advanced-topics/distributed-builds.html) +* [x] Look into Remote Builds - [Link](https://nixos.org/manual/nix/stable/advanced-topics/distributed-builds.html) * [ ] Find a way to remove all default search engines in Firefox (Google, Amazon, etc) * [ ] Figure out what the home-manager `account` options are for. * [ ] Security hardening diff --git a/docs/setup.sh b/docs/setup.sh index 795d5b6a..2ec8a9ca 100755 --- a/docs/setup.sh +++ b/docs/setup.sh @@ -41,22 +41,22 @@ echo "" >> ./keys/ssh/keys.txt echo "# `whoami`@`hostname`" >> ./keys/ssh/keys.txt cat /home/albert/.ssh/id_rsa.pub >> ./keys/ssh/keys.txt +# Fix gnupg permissions: +echo "Fixing ~/.gnupg permissions..... " +find ~/.gnupg -type f -exec chmod 600 {} \; +find ~/.gnupg -type d -exec chmod 700 {} \; + # Add all changes to git and and push echo "Pushing to git..... " git add keys/hosts/`hostname`.asc git commit -am "Setup: `whoami`@`hostname`" git push -# Fix gnupg permissions: -echo "Fixing ~/.gnupg permissions..... " -find ~/.gnupg -type f -exec chmod 600 {} \; -find ~/.gnupg -type d -exec chmod 700 {} \; - echo echo echo "Complete. Once '.sops.yaml' is updated, " -echo "you may run 'update-secrets'" -echo "and reboot." +echo "run 'update-secrets' and reboot." +echo echo echo "Reminder: Upload these changes to git"