deft/init-machine.org
Yann Esposito (Yogsototh) 4b9b8c2abd
update
2021-02-02 09:53:56 +01:00

1.8 KiB

Init New Machine

tags :: nix geek

Install nix

go https://nixos.org/nix/

sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume

Init nix-channels

. .nix-profile/etc/profile.d/nix.sh
nix-channel --add https://nixos.org/channels/nixpkgs-20.03-darwin nixpkgs
nix-channel --add https://github.com/rycee/home-manager/archive/release-20.09.tar.gz home-manager
nix-channel --update

Init your ssh keys

Either copy/them or create new ssh keys and configure them at https://gitea.esy.fun

Retrieve dot-files

This might need to resolve some conflicts.

nix-shell '<nixpkgs>' -p yadm
yadm clone gitea@gitea.esy.fun:yogsototh/dotfiles.git

First home-manager sync

nix-shell '<home-manager>' -A install

Final init via main sync-env

Do not forgot to clone elpa packages and perhaps additional inits. This should be done correctly in the `sync-env.sh` script.

./bin/sync-env.sh

Install Menlo-for-Powerline

git clone https://github.com/abertsch/Menlo-for-Powerline.git
open Menlo-for-Powerline

Install iTerm2

https://www.iterm2.com

Set default font to Menlo for Powerline

Install oh-my-fish

curl -L https://get.oh-my.fish | fish

Clone solaryzed-iterm2

git clone gitea@gitea.esy.fun:yogsototh/solaryzed-iterm2.git
open solaryzed-iterm2/*.itermcolors

Sync ~/.gnupg

Make Emacs an app

cp -r ~/.nix-profile/Applications/Emacs.app /Applications

Mails

TODO…??

Install clj-kondo

Does not work from nix.