mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 23:03:40 +00:00
7927990d2f3a03bcda96c6c6d177d686e4f04607
nix-config
This repo stores nix expressions to manage my machines.
Setup
git
Clone this as a bare repo to avoid the need for symlinking:
$ git clone --bare git@github.com:davegallant/nix-config.git $HOME/.dotfiles
$ alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' # add alias to a .bashrc / .zshrc
$ config config --local status.showUntrackedFiles no
$ config checkout -f # this will overwrite any existing configs in the home directory
home manager
Install nix and home-manager.
$ home-manager -f ~/nix/home.nix switch
Languages
Nix
96.6%
Shell
1.9%
Just
1.5%