blob: b76120f73d22f0fc414c62983c3386bad51447f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{self, ...}: {
perSystem = {
lib,
pkgs,
system,
...
}: let
inherit (pkgs) dockerTools;
inherit (self.packages.${system}) teawiebot-smol;
in {
packages = {
container = dockerTools.buildLayeredImage {
name = "teawiebot";
tag = "latest";
contents = [dockerTools.caCertificates];
config.Cmd = ["${lib.getExe teawiebot-smol}"];
};
};
};
flake.nixosModules.default = import ./module.nix self;
}
|