zmre / nix-config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nix Home-Manager Config

This is experimental.

When using this, clone somewhere and then link to ~/.config/nixpkgs -- or just clone to that path. Either way.

docker run -it nixos/nix
git clone https://github.com/zmre/nix-config.git
nix-shell -p git
git clone https://github.com/zmre/nix-config.git
mkdir .config
ln -s nix-config .config/nixpkgs
nix-instantiate '<nixpkgs>' -A hello
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
home-manager switch
zsh

If you get segfaults, try this:

nix-store --verify --check-contents --repair

And a direct build looks something like:

nix --extra-experimental-features 'nix-command flakes' build './#darwinConfigurations.attolia.system' --log-format raw --verbose --show-trace

About


Languages

Language:Nix 59.1%Language:Shell 37.7%Language:Python 3.1%