Files
nix-config/lib
2024-01-28 23:09:11 +08:00
..
2024-01-21 17:07:44 +08:00
2023-12-29 17:36:47 +08:00
2024-01-02 17:15:55 +08:00
2023-12-25 11:53:27 +08:00

Library

Some helper functions, used by flake.nix to reduce code duplication and make it easier to add new machines:

  1. attrs.nix: A set of functions to manupulate attribute sets.
  2. macosSystem.nix: A function to generate config(attribute set) for macOS(nix-darwin).
  3. nixosSystem.nix: A function to generate config(attribute set) for NixOS.
  4. colmenaSystem.nix: A function that generate config(another function) for remote deployment using colmena.
  5. default.nix: import all the above functions, and some custom useful functions, and export them as a single attribute set.