mod: added nix-minecraft
re-exported for others to use
This commit is contained in:
2 files changed
+78
-4
No files matched your search
@@ -15,6 +15,10 @@
|
||||
url = "github:purpleclay/go-overlay";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nix-minecraft = {
|
||||
url = "github:Infinidoge/nix-minecraft";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
hildibrand.url = "git+https://scm.wyattjmiller.com/wymiller/hildibrand.git";
|
||||
hildibrand.inputs.nixpkgs.follows = "nixpkgs";
|
||||
@@ -22,7 +26,16 @@
|
||||
caitsith.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, darwin, rust-overlay, go-overlay, ... }:
|
||||
outputs =
|
||||
inputs@{
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
darwin,
|
||||
rust-overlay,
|
||||
go-overlay,
|
||||
...
|
||||
}:
|
||||
let
|
||||
supportedSystems = [
|
||||
"x86_64-linux"
|
||||
@@ -40,15 +53,18 @@
|
||||
overlays = [ self.overlays.default ];
|
||||
};
|
||||
in
|
||||
import ./pkgs {
|
||||
inputs.nix-minecraft.packages.${system}
|
||||
// (import ./pkgs {
|
||||
inherit pkgs;
|
||||
|
||||
# packages that are already built with Nix go here
|
||||
hildibrand = inputs.hildibrand.packages.${system}.default;
|
||||
caitsith = inputs.caitsith.packages.${system}.default;
|
||||
}
|
||||
})
|
||||
);
|
||||
|
||||
legacyPackages = forAllSystems (system: inputs.nix-minecraft.legacyPackages.${system});
|
||||
|
||||
devShells = forAllSystems (
|
||||
system:
|
||||
let
|
||||
@@ -63,13 +79,17 @@
|
||||
}
|
||||
);
|
||||
|
||||
overlays.minecraft = inputs.nix-minecraft.overlays.default;
|
||||
overlays.default = nixpkgs.lib.composeManyExtensions [
|
||||
rust-overlay.overlays.default
|
||||
go-overlay.overlays.default
|
||||
self.overlays.minecraft
|
||||
(import ./overlays)
|
||||
];
|
||||
homeManagerModules = import ./modules/home-manager self;
|
||||
nixosModules.default = import ./modules/nixos;
|
||||
nixosModules = inputs.nix-minecraft.nixosModules // {
|
||||
default = import ./modules/nixos;
|
||||
};
|
||||
darwinModules.default = import ./modules/darwin;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user