Azd325 / dotfiles

My dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macOS Setup Guide

Table of contents

Prerequisites

You need to copy your ssh-keys to the new maschine and correct the file mode.

chmod 600 ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa.pub
chmod 644 ~/.ssh/known_hosts
chmod 755 ~/.ssh

Cloning the dotfiles

mkdir -p .config/
git clone git@github.com:Azd325/dotfiles.git ∼/.config/nixpkgs

Installing nix

curl -L https://nixos.org/nix/install | sh # restart afterwards

Install

First install

cd ~/.config/nixpkgs
nix --experimental-features 'nix-command flakes' build .#aarch64
./result/sw/bin/darwin-rebuild switch --flake .

Update

nix flake udpate
darwin-rebuild switch --flake ".#aarch64"

Emacs

Install doom-emacs with my configuration

git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
~/.config/emacs/bin/doom install

About

My dotfiles

License:The Unlicense


Languages

Language:Emacs Lisp 55.6%Language:Nix 38.6%Language:Lua 5.7%Language:Shell 0.1%