forked from dustinlyons/nixos-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
28 lines (26 loc) · 815 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
{
description = "Nick the Sick's NixOS and MacOS configuration";
inputs = {
nixpkgs = { url = "github:NixOS/nixpkgs/master"; };
home-manager = { url = "github:nix-community/home-manager"; };
darwin = {
url = "github:LnL7/nix-darwin/master";
inputs.nixpkgs.follows = "nixpkgs";
};
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{ self, flake-utils, darwin, home-manager, nixpkgs, agenix, ... }@inputs: {
# Mac Mini
darwinConfigurations = {
"nickthesicks-Mac-mini" = darwin.lib.darwinSystem {
system = "aarch64-darwin";
modules = [ ./darwin agenix.nixosModules.default ];
inputs = { inherit darwin home-manager nixpkgs agenix; };
};
};
};
}