Skip to content

Latest commit

 

History

History

.nixfiles

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

❄️

pre install

If not enabled (legacy)

$ mkdir -p ~/.config/nix
$ echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf

install

# enter bootstrapping shell
$ nix shell nixpkgs#git nixpkgs#curl
# install dotfiles on new system
$ curl https://raw.githubusercontent.com/nicochatzi/dotfiles/main/.scripts/install-dotfiles.sh \
  | bash
# setup new host machine in .nixfiles/hosts/$(hostname)
# generate the hardware config
$ nixos-genertae-config --root .
# OR get from system
$ cp /etc/nixos/hardware-configuration.nix ~/.nixfiles/hosts/$(hostname)/
# build system for current host
$ sudo nixos-rebuild switch --flake ~/.nixfiles#$(hostname)

post install

  • lightdm greeter might need to be disabled on first boot.
  • rusutp is not fully setup, run:
rustup default stable
rustup components add rust-analyzer
  • tmux/tpm setup
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

dark

lati-dark

light

lati-light