Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.13 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.13 KB

Dotfiles

This is a collection of some of my dotfiles. Im very happy if you want to take it for a spin or have any ideas on how it could be improved 😊

Setting up nix

Im using Nix for managing all my packages and applications. This was heavily inspired by this video.

Install Nix

You can get started by installing Nix package manager:

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

Install Nix Darwin

Then install nix-darwin:

nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake ~/dotfiles/nix#mac

Edit and rebuild

To rebuild the Nix configuration after editing it. Run:

darwin-rebuild switch --flake ~/dotfiles/nix#mac

or (after using Stow to apply the aliases.sh):

ndr

GNU Stow

The dotfiles is managed using GNU Stow which is installed in the steps above.

This is the simple guide i used on how to get started using Stow.