Skip to content

iff/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dots

Collection of dotfiles managed by nix/home-manager and NixOS configuration.

Setup

Script

Get a Github API token for gh, then run

bash <(curl https://raw.githubusercontent.com/iff/dotfiles/master/sh)

to

  • install Nix and set experimental features
  • create an ssh key (one per machine)
  • gh auth login
  • clone repository and run nix run

Manual

Assuming installed Nix/NixOS, eg. curl -L https://nixos.org/nix/install | sh and make sure that flakes are enabled:

echo "extra-experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf

Then just clone and install:

git clone git@github.com:iff/dotfiles.git
nix run . switch -- --flake .#$(hostname)

After the first activation use home-manager: home-manager switch --flake .#$(hostname)

On Nixos run: sudo nixos-rebuild switch --flake '.#$(hostname)'

Resources

References

About

Collection of configuration files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published