1
0
Fork 0
Based on nixpkgs, nix-darwin and home-manager
Find a file
2022-02-09 22:10:26 +01:00
config direnv: Also set REBAR_CACHE_DIR for Erlang 2022-02-05 23:50:04 +01:00
programs Update deps 2022-02-09 22:10:26 +01:00
system nix-darwin: Dock configuration 2022-02-06 15:03:02 +01:00
.gitignore Use nix-darwin+home-manager 2022-02-03 23:35:52 +01:00
darwin-configuration.nix nix-darwin: Dock configuration 2022-02-06 15:03:02 +01:00
flake.lock Update deps 2022-02-09 22:10:26 +01:00
flake.nix Use nix-darwin+home-manager 2022-02-03 23:35:52 +01:00
home.nix Environment updates 2022-02-05 23:30:49 +01:00
README.md Fix README 2022-02-03 23:44:00 +01:00

Installation

⚠️ I have switched to a combination of nix-darwin and home-manager. The installation instructions below do not work that setup.

Click to expand!
# nix
sh <(curl -L https://nixos.org/nix/install)

sudo echo 'experimental-features = nix-command flakes' >> /etc/nix/nix.conf
sudo echo 'keep-derivations = true' >> /etc/nix/nix.conf
sudo echo 'keep-outputs = true' >> /etc/nix/nix.conf
sudo echo 'auto-optimise-store = true' >> /etc/nix/nix.conf

# home-manager
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install

# Configuration
cd ~/.config
git clone git@github.com:nifoc/dotfiles.git nixpkgs
home-manager switch --flake ~/.config/nixpkgs/#$USER

sudo cachix use nix-community

Overlays