-
Notifications
You must be signed in to change notification settings - Fork 2
/
flake.nix
76 lines (67 loc) · 2.05 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
description = "A flake for building my NUR packages";
inputs.emacs-overlay.inputs.nixpkgs.follows = "nixpkgs";
inputs.emacs-overlay.url = "github:nix-community/emacs-overlay";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.flake-parts.url = "github:hercules-ci/flake-parts";
inputs.nixpkgs.url = "github:dguibert/nixpkgs/pu";
inputs.nix.url = "github:dguibert/nix/pu"; # boehmgc 8.2.4
inputs.nix.inputs.nixpkgs.follows = "nixpkgs";
inputs.nix.inputs.git-hooks-nix.follows = "git-hooks-nix";
# for overlays/updated-from-flake.nix
inputs.dwl-src.flake = false;
inputs.dwl-src.url = "github:dguibert/dwl/pu";
inputs.dwm-src.flake = false;
inputs.dwm-src.url = "github:dguibert/dwm/pu";
inputs.emacs-src.flake = false;
inputs.emacs-src.url = "github:emacs-mirror/emacs/emacs-29";
inputs.mako-src.flake = false;
inputs.mako-src.url = "github:emersion/mako/master";
inputs.st-src.flake = false;
inputs.st-src.url = "github:dguibert/st/pu";
inputs.git-hooks-nix.url = "github:cachix/git-hooks.nix";
inputs.git-hooks-nix.inputs.nixpkgs.follows = "nixpkgs";
outputs = inputs @ {
self,
flake-parts,
nixpkgs,
nix,
...
}: let
inherit (self) outputs;
in
flake-parts.lib.mkFlake {inherit inputs;} {
flake = {
lib = nixpkgs.lib;
overlays = import ./overlays {
inherit inputs;
lib = inputs.nixpkgs.lib;
};
templates = {
env_flake = {
path = ./templates/env_flake;
description = "A bery basic env for my project";
};
terraform = {
path = ./templates/terraform;
description = "A template to use terranix/terraform";
};
};
};
systems = [
"x86_64-linux"
"aarch64-linux"
];
imports = [
#./home/profiles
#./hosts
./modules/all-modules.nix
#./lib
./apps
./checks
./shells
];
#perSystem = {config, self', inputs', pkgs, system, ...}: {
#};
};
}