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 (
system: pkgs: {
inherit inherit
(import ./packages rec { (import ./packages rec {
pkgs = pkgsFor.${system}; inherit pkgs;
helix = inputs.helix.packages.${pkgs.system}.default; helix = inputs.helix.packages.${system}.default;
}) })
fish fish
wrapped-helix wrapped-helix
kakoune 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;