Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.1 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.1 KB

My Dotfiles

(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.

Structure

  • ./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.

Usage

On NixOS:

sudo nixos-rebuild --flake /path/to/repo#RADAH

On non-NixOS

home-manager switch --flake /path/to/repo#d4hines