-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
40 lines (31 loc) · 1.08 KB
/
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
30
31
32
33
34
35
36
37
38
{
description = "Brandon's Superflake";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
nix-darwin.url = "github:lnl7/nix-darwin/master";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/release-24.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
agenix.url = "github:ryantm/agenix/main";
agenix.inputs.nixpkgs.follows = "nixpkgs";
flakes.url = "./flakes";
};
outputs = { self, nixpkgs, flake-utils, ... } @ inputs:
(flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
shell = with pkgs; mkShell {
buildInputs = [ nixos-anywhere ];
};
in
{
devShell = shell;
devShells.default = shell;
}))
// (import ./homes/default.nix inputs)
// (import ./systems/default.nix inputs)
// (import ./templates/default.nix inputs);
}