feat(main): forAllSystems,packages,devShells

Reenable
This commit is contained in:
reo101 2022-11-21 09:53:32 +02:00
parent da4bd3e943
commit 040215f423

View file

@ -52,25 +52,25 @@
, ...
} @ inputs:
let
# forAllSystems = nixpkgs.lib.genAttrs [
# "aarch64-linux"
# "i686-linux"
# "x86_64-linux"
# "aarch64-darwin"
# "x86_64-darwin"
# ];
inherit (self) outputs;
forAllSystems = nixpkgs.lib.genAttrs [
"aarch64-linux"
"i686-linux"
"x86_64-linux"
"aarch64-darwin"
"x86_64-darwin"
];
in
rec {
# packages = forAllSystems (system:
# let pkgs = nixpkgs.legacyPackages.${system};
# in import ./pkgs { inherit pkgs; }
# );
packages = forAllSystems (system:
let pkgs = nixpkgs.legacyPackages.${system};
in import ./pkgs { inherit pkgs; }
);
# devShells = forAllSystems (system:
# let pkgs = nixpkgs.legacyPackages.${system};
# in import ./shell.nix { inherit pkgs; }
# );
devShells = forAllSystems (system:
let pkgs = nixpkgs.legacyPackages.${system};
in import ./shell.nix { inherit pkgs; }
);
overlays = import ./overlays;
nixosModules = import ./modules/nixos;