flake.nix: simplify forAllSystems

This commit is contained in:
Astro 2021-02-27 02:02:04 +01:00
parent 535478c160
commit 6ff81bef39
1 changed files with 2 additions and 3 deletions

View File

@ -8,9 +8,8 @@
outputs = { self, nixpkgs, secrets, nixos-hardware }:
let
forAllSystems = f:
nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ]
(system: f system);
forAllSystems =
nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ];
hostRegistry = import ./host-registry.nix;
in {