generated from div72/pull-mirror-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
50 lines (47 loc) · 1.41 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
{
description = "System flake";
inputs = {
agenix = {
url = "github:ryantm/agenix/main";
inputs.nixpkgs.follows = "nixpkgs";
};
# FIXME: This can be replaced once a new version is on nixpkgs.
conduwuit = {
url = "github:girlbossceo/conduwuit";
inputs.nixpkgs.follows = "nixpkgs";
};
mailpot = {
url = "github:div72/mailpot";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
hu-announcement-bot = {
url = "github:hacettepeoyt/hu-announcement-bot";
inputs.nixpkgs.follows = "nixpkgs";
};
hu-cafeteria-bot = {
url = "github:hacettepeoyt/hu-cafeteria-bot";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ { self, agenix, conduwuit, hu-announcement-bot, hu-cafeteria-bot, mailpot, nixpkgs }: {
inherit inputs;
nixosConfigurations."vflower" = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
agenix.nixosModules.default
hu-announcement-bot.nixosModules
hu-cafeteria-bot.nixosModules
./system.nix
{
nixpkgs.overlays = [
(final: prev: {
conduwuit2 = conduwuit.packages.aarch64-linux.static-aarch64-linux-musl;
mailpot = mailpot.packages.aarch64-linux.mailpot;
})
];
}
];
};
};
}