Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.36 KB

README.md

File metadata and controls

62 lines (46 loc) · 1.36 KB

NixOS Configuration

Getting Started

Add channels:

sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable
sudo nix-channel --update

nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update

Clone repo and add hardware configuration:

nix-shell -p git
git clone https://github.com/cte/dotfiles.git
cd dotfiles
cp /etc/nixos/hardware-configuration.nix ./hosts/dusk
git add .
exit

Alternatively, you can can create a new host configuration using the example set by dusk.

Rebuild:

cd ~/dotfiles
sudo nixos-rebuild switch --flake .#dusk

Reboot:

sudo reboot

Symlink dotfiles:

cd ~/dotfiles/config
./install.sh

Resources

Documentation

Videos