-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
44 lines (41 loc) · 1.13 KB
/
Copy pathflake.nix
File metadata and controls
44 lines (41 loc) · 1.13 KB
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
{
description = "My personal NUR repository";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = inputs@{ self, flake-parts, ... }:
let
overlay = final: prev: {
nur-jetcookies = import ./default.nix {
pkgs = prev;
};
};
in
flake-parts.lib.mkFlake { inherit inputs; } (
{ lib, ... }:
{
systems = [ "x86_64-linux" ];
perSystem = { config, self', inputs', pkgs, system, ... }: rec {
legacyPackages = import ./default.nix { inherit pkgs; };
packages = lib.filterAttrs (_: lib.isDerivation) legacyPackages;
};
flake = {
overlays = {
default = overlay;
};
nixosModules = {
subconverter = import ./modules/services/networking/subconverter.nix;
};
};
}
);
nixConfig = {
extra-substituters = [
"https://jetcookies.cachix.org"
];
extra-trusted-public-keys = [
"jetcookies.cachix.org-1:YM4ERAadhoioRkDA5ZKgnKN98N5x0ubV8t6HeIekcnc="
];
};
}