mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-06-12 09:24:24 +02:00
feat: my custom libAttrs
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
}: let
|
||||
constants = import ./constants.nix;
|
||||
|
||||
# FYI: `lib.genAttrs [ "foo" "bar" ] (name: "x_" + name)` => `{ foo = "x_foo"; bar = "x_bar"; }`
|
||||
# `lib.genAttrs [ "foo" "bar" ] (name: "x_" + name)` => `{ foo = "x_foo"; bar = "x_bar"; }`
|
||||
forEachSystem = func: (nixpkgs.lib.genAttrs constants.allSystems func);
|
||||
|
||||
allSystemConfigurations = import ./systems {inherit self inputs constants;};
|
||||
|
||||
Reference in New Issue
Block a user