nixos-servers/utils/default.nix
2024-09-24 22:45:07 +02:00

19 lines
347 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