-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflake.nix
38 lines (36 loc) · 954 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
30
31
32
33
34
35
36
37
38
{
description = "A collection of stuff I wanted, and figured I'd share as a bunch of flakes";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/master";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs =
{
self,
nixpkgs,
flake-parts,
...
}@inputs:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [./packages];
flake = rec {
nixosModules = import ./nixos-modules;
homeModules = import ./home-modules;
homeManagerModules = builtins.trace
"[1;31mwarning: homeManagerModules is Deprecated, please use homeModules.["
homeModules;
darwinModules = import ./darwin-modules;
};
systems = [
"x86_64-darwin"
"aarch64-darwin"
"x86_64-linux"
"aarch64-linux"
];
perSystem =
{ pkgs, ... }:
{
formatter = pkgs.nixfmt-rfc-style;
};
};
}