blob: b7319cfbce816fd1cf50ff77f7bfef52bf06dc32 (
plain)
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
|
{
inputs = {
fup.url = "github:divnix/flake-utils-plus";
devshell.url = "github:numtide/devshell";
nixpkgs.url = "github:NixOS/nixpkgs/release-21.11";
};
outputs = inputs@{ self, nixpkgs, fup, devshell }:
fup.lib.mkFlake {
inherit self inputs;
supportedSystems = [ "aarch64-linux" "x86_64-linux" ];
nixosModules.matrix-appservices = import ./module;
nixosModule = self.nixosModules.matrix-appservices;
overlays.matrix-appservices = import ./pkgs;
overlay = self.overlays.matrix-appservices;
sharedOverlays = [
self.overlay
devshell.overlay
];
channels.pkgs.input = nixpkgs;
outputsBuilder = { pkgs }: {
packages = {
inherit (pkgs)
mx-puppet-groupme
mx-puppet-slack
mautrix-twitter
mautrix-instagram
;
};
checks.matrix-appservices = import ./test.nix { inherit pkgs; };
};
};
}
|