This repo is a nix flake that produces:
Using the magic of Nix, I keep the two systems pretty in-sync.
./flake.nix
imports the needed Nix libraries and glues everything together../modules/
houses config./modules/home/
houses the home-manager config (which works isomorphically on Arch and NixOS)./overlays/
provides additional Nix packages or modifies existing ones./overlays/scripts/
houses a bunch of NodeJS scripts that I use to automate various things. Several have been packaged up as systemd services:
twitch-notifications
forwards messages from my Twitch stream to notify-send
../keys
are my public keys../secrets
are my private keys and API tokens, encrypted automatically with git-crypt.On NixOS:
sudo nixos-rebuild --flake /path/to/repo#RADAH
On non-NixOS
home-manager switch --flake /path/to/repo#d4hines