Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b79299847a
|
No files matched your search
Generated
+54
@@ -58,6 +58,22 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat_2": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1747046372,
|
||||
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-schemas": {
|
||||
"locked": {
|
||||
"lastModified": 1780327564,
|
||||
@@ -190,6 +206,28 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-minecraft": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_2",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": "systems_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1792988509,
|
||||
"narHash": "sha256-1Li/v57ePpV9t6E57w/XTu760H6hYHztwm1RSd6RA8k=",
|
||||
"owner": "Infinidoge",
|
||||
"repo": "nix-minecraft",
|
||||
"rev": "931d87d3811cabc0277be27b94392d19291bd344",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Infinidoge",
|
||||
"repo": "nix-minecraft",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1792615934,
|
||||
@@ -213,6 +251,7 @@
|
||||
"go-overlay": "go-overlay",
|
||||
"hildibrand": "hildibrand",
|
||||
"home-manager": "home-manager",
|
||||
"nix-minecraft": "nix-minecraft",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"rust-overlay": "rust-overlay_3"
|
||||
}
|
||||
@@ -293,6 +332,21 @@
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_2": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
||||
@@ -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