refactor: massive refactor using flake-parts; use typos-cli and
keep-sorted
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
inputs,
|
||||
self,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
@@ -16,7 +17,7 @@ lib.my.makeSwitch {
|
||||
# This will add each flake input as a registry
|
||||
# To make nix3 commands consistent with your flake
|
||||
nix.registry = (lib.mapAttrs (_: flake: { inherit flake; })) (
|
||||
(lib.filterAttrs (_: lib.isType "flake")) inputs
|
||||
((lib.filterAttrs (_: lib.isType "flake")) inputs) // { flake = self; }
|
||||
);
|
||||
|
||||
# This will additionally add your inputs to the system's legacy channels
|
||||
|
||||
Reference in New Issue
Block a user