Giter VIP home page Giter VIP logo

coordinate-cat / darwin Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 4.45 MB

Dotfiles for darwin (macos) using nix. I would like to support nix-darwin and flakes in the future, but I don't understand them at the moment. Every day this repository is growing.

Home Page: https://dotset.vercel.app/

License: MIT License

Nix 85.59% Lua 13.95% Shell 0.46%
alacritty bash everforest home-manager iterm2 nix nixpkgs zsh default-command nix-darwin vscode macos lsp neovim starship vim dotfiles nixos

darwin's Introduction

darwin

macOS

This repository is darwin(macos) setup

Hacking Machine

スクリーンショット 2022-10-21 23 28 15

スクリーンショット 2022-10-21 23 25 25

スクリーンショット 2022-10-21 23 34 34

macOS Monterey ver 12.5.1
MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)
2.3GHz DualCore IntelCore i5
16GB 2133 MHz LPDDR3
Intel Iris Plus Graphics 640 1536MB

Nix []

sh <(curl -L https://nixos.org/nix/install)

Quit Terminal

nix-shell -p nix-info --run "nix-info -m"

Error

Error when doing sh <(curl -L https://nixos.org/nix/install)

error: failed to bootstrap /nix If you enabled FileVault after booting, this is likely a known issue
with macOS that you'll have to reboot to fix. If you didn't enable FV,
though, please open an issue describing how the system that you see
this error on was set up.

solution

  1. mac system settings > security and privacy > Filevault on/off > mac reboot

Rust

curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path

Home-manager []

# home-manager
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update

# nixpkgs
nix-channel --add https://nixos.org/channels/nixpkgs-unstable
nix-channel --update

export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
nix-shell '<home-manager>' -A install

Gitui []

make config file

mkdir ~/.ssh
cd ~/.ssh
touch config
vim config

write config

Host github github.com
    HostName github.com
    User git
    IdentityFile ~/.ssh/github

make ssh-key

ssh-keygen -t ecdsa -C "[email protected]"
Type `github` in the first question
pbcopy < ~/.ssh/github.pub
ssh-add ~/.ssh/github
ssh -T [email protected]

Install this repository

cd ~/.config
rm -rf nixpkgs
git clone [email protected]:Coordinate-Cat/darwin.git nixpkgs

home-manager switch
source ~/.zshrc

Nix-Darwin []

Warning
LnL7/nix-darwin#188

idk yet

mkdir ~/.nixpkgs
ln -s ~/.config/nixpkgs/darwin-configuration.nix $HOME/.nixpkgs/darwin-configuration.nix

nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
./result/bin/darwin-installer

darwin-rebuild switch

iTerm []

Theme: Everforest hard dark

VSCode []

Theme: Dark Hard High-Contrast

Extensions URL
Nix https://marketplace.visualstudio.com/items?itemName=bbenoist.Nix
Everforest https://marketplace.visualstudio.com/items?itemName=sainnhe.everforest

Fig []

Settings > Dotfiles > ⋮ > Import Dotfiles

Wallpaper []

osascript -e "tell application \"System Events\" to tell every desktop to set picture to \"~/.config/nixpkgs/bundle/wallpaper/wallpaper.jpg\" as POSIX file"

./bundle/wallpaper

Article []

https://lmh.vercel.app/

Licence []

nvim

Command lists
============================
`checkhealth`

darwin's People

Contributors

coordinate-cat avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dorukakinci

darwin's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.