Skip to content

c31io/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS Configurations

Usage

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

# Defined in /home/c31io/.config/fish/functions/bs.fish @ line 1
function bs
  sudo nixos-rebuild switch --flake ~/dotfiles/hosts/$hostname --show-trace
end

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.

READMEs

dots hosts mods