···13131414 outputs = inputs@{ flake-parts, ... }:
1515 flake-parts.lib.mkFlake { inherit inputs; } {
1616+ systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
1617 imports = [
1717- # To import a flake module
1818- # 1. Add foo to inputs
1919- # 2. Add foo as a parameter to the outputs function
2020- # 3. Add here: foo.flakeModule
2118 ./tools/nvim.nix
2219 ./tools/astronvim/flake-module.nix
2323-2420 ];
2525- systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
2626- perSystem = { config, self', inputs', pkgs, system, ... }: {
2727- # Per-system attributes can be defined here. The self' and inputs'
2828- # module parameters provide easy access to attributes of the same
2929- # system.
3030-3131- # Equivalent to inputs'.nixpkgs.legacyPackages.hello;
3232- packages.default = pkgs.hello;
3333- };
3434- flake = {
3535- # The usual flake attributes can be defined here, including system-
3636- # agnostic ones like nixosModule and system-enumerating ones, although
3737- # those are more easily expressed in perSystem.
3838-3939- };
4021 };
4122}