nixos-servers/utils/default.nix

20 lines
336 B
Nix
Raw Normal View History

2024-10-28 13:12:06 +00:00
{
nixpkgs,
flake-utils,
...
}: let
systemAttrs = flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacypackages.${system};
lib = pkgs.lib;
in {
net = import ./net.nix lib;
});
2024-09-07 10:39:30 +00:00
nonSystemAttrs = {
2024-09-07 10:39:30 +00:00
globals = import ./globals.nix;
};
allAttrs = systemAttrs // nonSystemAttrs;
in
2024-10-28 13:12:06 +00:00
allAttrs