feat: add nix-systems/default flake and remove systems module
This commit is contained in:
parent
691b925148
commit
5ea055f053
3 changed files with 26 additions and 4 deletions
11
flake.nix
11
flake.nix
|
@ -2,6 +2,8 @@
|
|||
inputs = {
|
||||
# nixos-unstable provides a binary cache for all packages.
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
# systems provides a list of supported nix systems.
|
||||
systems.url = "github:nix-systems/default";
|
||||
# flake-parts lets us define flake modules.
|
||||
flake-parts = {
|
||||
url = "github:hercules-ci/flake-parts";
|
||||
|
@ -36,5 +38,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules);
|
||||
outputs =
|
||||
inputs:
|
||||
inputs.flake-parts.lib.mkFlake { inherit inputs; } (
|
||||
(inputs.import-tree ./modules)
|
||||
// {
|
||||
systems = import inputs.systems;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue