-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
40 lines (35 loc) · 1006 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
39
40
{
description = "My personal NUR repository";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
outputs = { nixpkgs, ... }: let
inherit (nixpkgs) lib;
forAllSystems = f: lib.genAttrs lib.systems.flakeExposed f;
in {
packages = forAllSystems (system:
lib.filterAttrs
(name: _: name != "modules" && name != "overlays")
(import ./. {
pkgs = import nixpkgs {
inherit system;
config = import ./nixpkgs-config.nix;
};
})
);
nixosModules = import ./modules;
overlays = import ./overlays;
};
nixConfig = {
substituters = [
"https://cache.nixos.org/"
"https://ilya-fedin.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"ilya-fedin.cachix.org-1:QveU24a5ePPMh82mAFSxLk1P+w97pRxqe9rh+MJqlag="
];
};
}