Skip to content

c31io/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

288 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS Configurations

Usage

Create your ./hosts/YOUR_HOST/*.nix, git-add and apply.

Link /etc/nixos/* to the right files. Backup your hardware config. Keep your state version.

nix flake update --flake ~/dotfiles/hosts/$hostname
sudo nixos-rebuild switch --flake ~/dotfiles/hosts/$hostname --show-trace

For fresh installations, import pc.nix and kde.nix.

Pitfalls

Git-add *.nix before using flake.

Delete dotfiles before switch.

rm -rf ~/.config/{git,fish,nvim}

Clear cache files before openning nvim.

rm -rf ~/.local/share/nvim

On ratelimit errors, put access-tokens = github.com=<token> in /root/.config/nix/nix.conf.

On experimental feature errors, export NIX_CONFIG="experimental-features = nix-command flakes" before nixos-install.

READMEs

dots hosts mods

About

GNU/Linux Desktop .config Files

Topics

Resources

License

Stars

Watchers

Forks

Contributors