|
|
|
@ -79,7 +79,7 @@
|
|
|
|
lib = inputs.nixpkgs.lib;
|
|
|
|
lib = inputs.nixpkgs.lib;
|
|
|
|
inherit (lib.asserts) assertMsg;
|
|
|
|
inherit (lib.asserts) assertMsg;
|
|
|
|
in
|
|
|
|
in
|
|
|
|
{
|
|
|
|
rec {
|
|
|
|
# ({?} -> ?) -> {?} -> ?
|
|
|
|
# ({?} -> ?) -> {?} -> ?
|
|
|
|
# gives a function access to its own return value
|
|
|
|
# gives a function access to its own return value
|
|
|
|
# by adding it to its first argument (assuming that’s an attrset)
|
|
|
|
# by adding it to its first argument (assuming that’s an attrset)
|
|
|
|
@ -97,7 +97,8 @@
|
|
|
|
result = outputs;
|
|
|
|
result = outputs;
|
|
|
|
in
|
|
|
|
in
|
|
|
|
result;
|
|
|
|
result;
|
|
|
|
importFlakeMod = path: outputs.libAnchors.reflect (import path) flakeArg;
|
|
|
|
initFlakeMod = mod: reflect mod flakeArg;
|
|
|
|
|
|
|
|
importFlakeMod = path: initFlakeMod (import path);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
nixosConfigurations = importFlakeMod ./nix/nixos;
|
|
|
|
nixosConfigurations = importFlakeMod ./nix/nixos;
|
|
|
|
|