Skip to content

gunbux/dotnix

Repository files navigation

Initial Setup

Ensure you are on the unstable channel:

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

Also add sane hardware defaults with nixos-hardware

sudo nix-channel --add https://github.com/NixOS/nixos-hardware/archive/master.tar.gz nixos-hardware
sudo nix-channel --update

Building the system

# Without flakes
nixos-rebuild -I nixos-config=./base.nix switch

# With flakes
sudo nixos-rebuild switch --flake .#chun-lappy

Adding mutt configs

There's no good way to configure mutt/neomutt using Nix configurations, so we can just symlink/copy the folder over.

ln -sf /home/chun/dotnix/config/mutt ~/.config/mutt

Running wireguard

If you're running wireguard on boot (wifi), wg0 will fail to autostart, so autostart is disabled. To start the vpn, run:

sudo systemctl start wg-quick-wg0

About

Personal Nix Dots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published