mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
treewide: refactor, nix, overlays -> packages
This commit is contained in:
parent
d6238e12af
commit
eb6b664802
23 changed files with 240 additions and 308 deletions
16
modules/_module.nix
Normal file
16
modules/_module.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
inputs',
|
||||
...
|
||||
}:
|
||||
{
|
||||
_module.args = {
|
||||
inputs' = lib.mapAttrs (lib.const (
|
||||
lib.mapAttrs (lib.const (value: value.${pkgs.system} or value))
|
||||
)) inputs;
|
||||
|
||||
flake' = inputs'.self;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue