docs: misc

This commit is contained in:
Ryan Yin
2023-12-25 11:43:55 +08:00
parent 3b548b581c
commit 15727ea482
11 changed files with 52 additions and 26 deletions

View File

@@ -2,7 +2,8 @@
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.
1. `macosSystem.nix`: A function to generate config(attribute set) for macOS([nix-darwin](https://github.com/LnL7/nix-darwin)).
2. `nixosSystem.nix`: A function to generate config(attribute set) for NixOS.
3. `colmenaSystem.nix`: A function that generate config(another function) for remote deployment using [colmena](https://github.com/zhaofengli/colmena).
1. `nixosSystem.nix`: A function to generate config(attribute set) for NixOS.
1. `colmenaSystem.nix`: A function that generate config(another function) for remote deployment using [colmena](https://github.com/zhaofengli/colmena).
1. `default.nix`: import all the above functions, and some custom useful functions, and export them as a single attribute set.