mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-20 00:24:28 +01:00
feat: README for /lib
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Library
|
||||
|
||||
Some Helper functions for the project:
|
||||
Some helper functions, used by `flake.nix` to reduce code duplication and make it easier to add new machines:
|
||||
|
||||
1. `macosSystem.nix`: A function to generate attribute set for macOS([nix-darwin](https://github.com/LnL7/nix-darwin)), used by `flake.nix` to reduce code duplication and make it easier to add new machines.
|
||||
2. `nixosSystem.nix`: A function to generate attribute set for NixOS, used by `flake.nix` to reduce code duplication and make it easier to add new machines.
|
||||
3. `colmenaSystem.nix`: A function to generate attribute set for remote deployment using [colmena](https://github.com/zhaofengli/colmena), used by `flake.nix` to reduce code duplication and make it easier to add new machines.
|
||||
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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user