refactor: massive refactor using flake-parts; use typos-cli and

keep-sorted
This commit is contained in:
2025-12-20 12:57:47 +08:00
parent d5f027f586
commit bc197eb3ca
21 changed files with 466 additions and 455 deletions

View File

@@ -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