Skip to content

i077/system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  • 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 a home.nix file or home directory for each host (if at all).
  • bin is 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.