Revert "rm flake.nix"

This reverts commit 242e687952.
This commit is contained in:
milahu 2023-02-27 10:34:06 +01:00
parent 7ac697b8ec
commit 2120e3adbd

21
flake.nix Normal file
View File

@ -0,0 +1,21 @@
# based on https://github.com/Mic92/nur-packages/blob/master/flake.nix
{
description = " My personal NUR repository";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = { self, nixpkgs }: let
systems = [
"x86_64-linux"
"i686-linux"
"x86_64-darwin"
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
in {
packages = forAllSystems (system: import ./default.nix {
pkgs = import nixpkgs { inherit system; };
});
};
}