86 lines
1.8 KiB
Org Mode
86 lines
1.8 KiB
Org Mode
#+TITLE: Init New Machine
|
|
#+Author: Yann Esposito
|
|
|
|
tags :: [[file:../journal/2020-06-02--11-31-33Z--nix.org][nix]] [[file:../journal/2020-06-02--11-31-55Z--geek.org][geek]]
|
|
|
|
* Install nix
|
|
|
|
go https://nixos.org/nix/
|
|
|
|
#+BEGIN_SRC bash
|
|
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
|
|
#+END_SRC
|
|
|
|
* Init nix-channels
|
|
|
|
#+BEGIN_SRC bash
|
|
. .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
|
|
#+END_SRC
|
|
|
|
* 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.
|
|
|
|
#+BEGIN_SRC bash
|
|
nix-shell '<nixpkgs>' -p yadm
|
|
yadm clone gitea@gitea.esy.fun:yogsototh/dotfiles.git
|
|
#+END_SRC
|
|
|
|
* First home-manager sync
|
|
|
|
#+BEGIN_SRC bash
|
|
nix-shell '<home-manager>' -A install
|
|
#+END_SRC
|
|
|
|
* 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.
|
|
|
|
#+BEGIN_SRC bash
|
|
./bin/sync-env.sh
|
|
#+END_SRC
|
|
|
|
* Install Menlo-for-Powerline
|
|
|
|
#+BEGIN_SRC bash
|
|
git clone https://github.com/abertsch/Menlo-for-Powerline.git
|
|
open Menlo-for-Powerline
|
|
#+END_SRC
|
|
|
|
* Install iTerm2
|
|
|
|
https://www.iterm2.com
|
|
|
|
Set default font to Menlo for Powerline
|
|
|
|
* Install oh-my-fish
|
|
|
|
#+BEGIN_SRC bash
|
|
curl -L https://get.oh-my.fish | fish
|
|
#+END_SRC
|
|
|
|
* Clone solaryzed-iterm2
|
|
|
|
#+BEGIN_SRC bash
|
|
git clone gitea@gitea.esy.fun:yogsototh/solaryzed-iterm2.git
|
|
open solaryzed-iterm2/*.itermcolors
|
|
#+END_SRC
|
|
* Sync ~/.gnupg
|
|
* Make Emacs an app
|
|
|
|
cp -r ~/.nix-profile/Applications/Emacs.app /Applications
|
|
* Mails
|
|
|
|
TODO...??
|
|
|
|
* Install clj-kondo
|
|
Does not work from =nix=.
|