system
system copied to clipboard
Declarative system configuration for all my machines
trafficstars
System configuration
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.
Structure
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.
flakeis where flake outputs are declared. Outputs are split into files by functionality.modulesstores snippets of configuration for NixOS, nix-darwin, and home-manager.hostsstores configuration for each machine managed in this repo. User environment config is stored in ahome.nixfile orhomedirectory for each host (if at all).binis a collection of shell scripts I find useful. These are usually written for fish.
Maintenance
Common maintenance tasks, like updating the flake, switching configurations, and garbage-collecting the Nix store are stored in a Justfile and run using just.