-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
49 lines (49 loc) · 1.5 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
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
flakelight = {
url = "github:nix-community/flakelight";
inputs.nixpkgs.follows = "nixpkgs";
};
flakelight-elisp = {
url = "github:accelbread/flakelight-elisp";
inputs.flakelight.follows = "flakelight";
};
nixos-hardware.url = "github:NixOS/nixos-hardware";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
impermanence.url =
"github:nix-community/impermanence";
lanzaboote = {
url = "github:nix-community/lanzaboote/v0.4.2";
inputs.nixpkgs.follows = "nixpkgs";
};
emacs-overlay = {
url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
nixgl = {
url = "github:nix-community/nixGL";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { flakelight, ... }@inputs:
flakelight ./. {
imports = [ inputs.flakelight-elisp.flakelightModules.default ];
inherit inputs;
withOverlays = [
inputs.nixgl.overlays.default
inputs.emacs-overlay.overlays.package
inputs.self.overlays.overrides
inputs.self.overlays.lix
];
checks.statix = pkgs: "${pkgs.statix}/bin/statix check";
legacyPackages = pkgs: pkgs;
formatters = pkgs: {
"*.js" = "${pkgs.nodePackages.prettier}/bin/prettier --write";
};
};
nixConfig.commit-lockfile-summary = "flake: Update inputs";
}