lix-nixos-module/flake.nix

26 lines
728 B
Nix
Raw Normal View History

2024-03-07 19:27:15 +00:00
{
# fixme: use the forgejo address
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2024-03-07 19:31:59 +00:00
inputs.lix = {
url = "git+ssh://gerrit.lix.systems:2022/lix";
flake = false;
};
2024-03-07 19:27:15 +00:00
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, lix, flake-utils }: {
nixosModules.default = import ./module.nix { inherit lix; };
overlays.default = import ./overlay.nix { inherit lix; };
} // flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ self.overlays.default ];
};
in
{
2024-03-07 19:38:40 +00:00
inherit pkgs;
2024-03-07 19:27:15 +00:00
packages.default = pkgs.nixVersions.nix_2_18;
2024-03-07 19:45:59 +00:00
packages.nix-doc = pkgs.nix-doc;
2024-03-07 19:27:15 +00:00
});
}