nixos-servers/utils/default.nix
2024-10-28 14:12:06 +01:00

19 lines
336 B
Nix

{
nixpkgs,
flake-utils,
...
}: let
systemAttrs = flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacypackages.${system};
lib = pkgs.lib;
in {
net = import ./net.nix lib;
});
nonSystemAttrs = {
globals = import ./globals.nix;
};
allAttrs = systemAttrs // nonSystemAttrs;
in
allAttrs