-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
68 lines (63 loc) · 2.19 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
# SPDX-FileCopyrightText: 2023 The omnibus Authors
# SPDX-FileCopyrightText: 2024 The omnibus Authors
#
# SPDX-License-Identifier: MIT
{
inputs = {
flops.url = "github:tao3k/flops";
};
outputs =
inputs:
let
inherit (inputs.flops.inputs) haumea;
srcPops = import ./src { inherit inputs; };
src = srcPops.exports.default;
in
src.flakeOutputs
// {
pops = src.pops // {
self = srcPops;
nixosProfilesOmnibus = src.pops.nixosProfiles;
darwinProfilesOmnibus = src.pops.darwinProfiles;
homeProfilesOmnibus = src.pops.homeProfiles;
nixosModules = src.pops.nixosModules.addLoadExtender {
load.nixosModuleImporter = haumea.lib.loaders.default;
};
homeModules = src.pops.homeModules.addLoadExtender {
load.nixosModuleImporter = haumea.lib.loaders.default;
};
darwinModules = src.pops.darwinModules.addLoadExtender {
load.nixosModuleImporter = haumea.lib.loaders.default;
};
nixosProfiles = src.pops.nixosProfiles.addLoadExtender {
load.type = "nixosProfiles";
load.nixosModuleImporter = haumea.lib.loaders.default;
};
darwinProfiles = src.pops.darwinProfiles.addLoadExtender {
load.type = "nixosProfiles";
load.nixosModuleImporter = haumea.lib.loaders.default;
};
homeProfiles = src.pops.homeProfiles.addLoadExtender {
load.type = "nixosProfiles";
load.nixosModuleImporter = haumea.lib.loaders.default;
};
};
inherit src;
inherit (src) lib ops errors;
call-flake = inputs.flops.inputs.call-flake;
};
nixConfig = {
extra-substituters = [
"https://tweag-topiary.cachix.org"
"https://tweag-nickel.cachix.org"
"https://organist.cachix.org"
"https://cache.garnix.io"
];
extra-trusted-public-keys = [
"tweag-topiary.cachix.org-1:8TKqya43LAfj4qNHnljLpuBnxAY/YwEBfzo3kzXxNY0="
"tweag-nickel.cachix.org-1:GIthuiK4LRgnW64ALYEoioVUQBWs0jexyoYVeLDBwRA="
"organist.cachix.org-1:GB9gOx3rbGl7YEh6DwOscD1+E/Gc5ZCnzqwObNH2Faw="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
];
};
}