Nixerus/flake.nix

40 lines
815 B
Nix
Raw Permalink Normal View History

2023-05-06 21:03:30 +02:00
{
2023-10-08 17:09:58 +02:00
description = "Nixerus - NUR Repo";
2023-05-18 12:07:07 +02:00
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, ... }:
2023-05-06 21:03:30 +02:00
let
systems = [
"x86_64-linux"
"i686-linux"
"aarch64-linux"
];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
in
2023-05-18 12:07:07 +02:00
rec {
inherit inputs;
2023-05-06 21:03:30 +02:00
packages = forAllSystems (system: import ./default.nix {
pkgs = import nixpkgs { inherit system; };
});
selfPath = ./.;
2023-05-18 12:07:07 +02:00
2023-05-06 21:03:30 +02:00
};
}