Skip to content

Declarative system configurations using nixOS, nix-darwin, and home-manager

License

Notifications You must be signed in to change notification settings

kclejeune/system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles: System Configuration with Nix

Installing Nix Package Manager

Run the following to perform a multi-user installation for darwin or standard linux:

if [[ $(uname -s) == 'Darwin' ]]; then
    sh <(curl https://nixos.org/nix/install) --daemon --darwin-use-unencrypted-nix-store-volume
else
    sh <(curl https://nixos.org/nix/install) --daemon
fi

Cloning Dotfiles

Create a shell with yadm

nix-shell -p yadm --run "yadm clone --bootstrap https://github.com/kclejeune/dotfiles"

and clone this repository

When prompted with y/n, choose (y) to run bootstrap and begin installing the nix configuration. If no prompt appears, do so manually after cloning with

yadm bootstrap