-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
29 lines (25 loc) · 835 Bytes
/
flake.nix
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
# flakelight -- A Darwin module for flakelight
# Copyright (C) 2024 Calum MacRae <[email protected]>
# SPDX-License-Identifier: MIT
{
description = "A Darwin module for flakelight";
inputs = {
flakelight.url = "github:nix-community/flakelight";
nix-darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "flakelight/nixpkgs";
};
};
outputs = { flakelight, nix-darwin, ... }@inputs: flakelight ./. {
imports = [ flakelight.flakelightModules.flakelightModule ];
flakelightModule = { lib, ... }: {
imports = [
./flakelight-darwin/darwinModules.nix
./flakelight-darwin/darwinConfigurations.nix
];
inputs.nix-darwin = lib.mkDefault nix-darwin;
systems = [ "aarch64-darwin" "x86_64-darwin" ];
};
outputs.tests = import ./tests inputs;
};
}