--- tags: - nixos --- Instead of putting a bunch of related configuration in files and import them all over the place I should aim to create reusable modules instead with options and defaults. That way we can configure hosts not by importing and configuring a whole lot of stuff but by setting a few toggles and options on modules. For example a backup module that we can use for backup hosts on which we can just set some simple config options such as hostname. Inspired by: https://discourse.nixos.org/t/how-to-best-consolidate-repeated-portions-of-nixos-configs/24627/4?u=jras [[NixOS]]