flake.nix: cleanup

This commit is contained in:
Charlie Root 2025-04-16 22:34:25 +02:00 committed by Bloxx12
commit 288289d6ce

View file

@ -13,21 +13,23 @@
}) })
pkgsFor; pkgsFor;
formatter.x86_64-linux = inputs.nixpkgs.legacyPackages.x86_64-linux.alejandra; formatter = eachSystem (system: pkgsFor.${system}.alejandra);
packages = eachSystem ( packages =
system: { lib.mapAttrs (
inherit system: pkgs: {
(import ./packages rec { inherit
pkgs = pkgsFor.${system}; (import ./packages rec {
helix = inputs.helix.packages.${pkgs.system}.default; inherit pkgs;
}) helix = inputs.helix.packages.${system}.default;
fish })
wrapped-helix fish
kakoune wrapped-helix
; kakoune
} ;
); }
)
pkgsFor;
apps = eachSystem (system: let apps = eachSystem (system: let
inherit (inputs.self.packages.${system}) fish wrapped-helix; inherit (inputs.self.packages.${system}) fish wrapped-helix;