(This readme is a bit out of date, but ~mostly accurate).
This repo is a nix flake that produces:
- A NixOS configuration
- A home-manager configuration that I use from Arch Linux
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 tonotify-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