This repository hosts system/user configuration for my servers running NixOS and my macOS machines managed through nix-darwin, as well as user environments managed through home-manager.
This repository is a flake. Dependencies for this
flake are specified in flake.nix
in the inputs
set. The output set is configured
using flake-parts, which adds NixOS' module system for added, uh, modularity.
flake
is where flake outputs are declared. Outputs are split into files by functionality.modules
stores snippets of configuration for NixOS, nix-darwin, and home-manager.hosts
stores configuration for each machine managed in this repo. User environment config is stored in ahome.nix
file orhome
directory for each host (if at all).bin
is a collection of shell scripts I find useful. These are usually written for fish.
Common maintenance tasks, like updating the flake, switching configurations, and garbage-collecting the Nix store are stored in a Justfile and run using just.