Nixerus/flake.nix

40 lines
815 B
Nix

{
description = "Nixerus - NUR Repo";
inputs = {
nixpkgs = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
ref = "nixos-unstable";
};
home-manager = {
type = "github";
owner = "nix-community";
repo = "home-manager";
ref = "master";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
};
outputs = inputs @ { self, nixpkgs, home-manager, nur, ... }:
let
systems = [
"x86_64-linux"
"i686-linux"
"aarch64-linux"
];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
in
rec {
inherit inputs;
packages = forAllSystems (system: import ./default.nix {
pkgs = import nixpkgs { inherit system; };
});
selfPath = ./.;
};
}