mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
overlays: refactor by using .asFlake attribute
This commit is contained in:
parent
52e027ddd2
commit
f30709cdea
6 changed files with 21 additions and 21 deletions
|
|
@ -1,9 +1,7 @@
|
|||
let
|
||||
sources = import ../../npins;
|
||||
inherit (sources) agenix;
|
||||
inherit (agenix.repository) owner repo;
|
||||
in
|
||||
final: _: {
|
||||
# Use flake so the package inputs is pinned
|
||||
agenix = (builtins.getFlake "github:${owner}/${repo}/${agenix.revision}").packages.${final.system}.default;
|
||||
agenix = sources.agenix.asFlake.packages.${final.system}.default;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue