Skip to content
/ dotfiles Public

Personal NixOS system + home manager configurations

Notifications You must be signed in to change notification settings

cte/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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