-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
36 lines (29 loc) · 894 Bytes
/
flake.nix
File metadata and controls
36 lines (29 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
description = "null2264's ThinkPad L460 OpenCore Hackintosh";
outputs = { self, nixpkgs, utils, oceanix, configFile, ... }:
{
opencoreConfigurations = (utils.lib.eachSystem ["x86_64-linux" "x86_64-darwin"] (system: {
l460 = oceanix.lib.OpenCoreConfig {
pkgs = import nixpkgs {
inherit system;
overlays = [ oceanix.overlays.default ];
};
extraSpecialArgs = { params = (import configFile); };
modules = [
./Nix/modules
];
};
}));
};
inputs =
{
nixpkgs.url = "github:NixOS/nixpkgs/release-25.11";
utils.url = "github:numtide/flake-utils";
oceanix = {
url = "github:null2264/oceanix/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
inputs.utils.follows = "utils";
};
configFile = { url = "path:./Nix/include/sample.nix"; flake = false; };
};
}