summaryrefslogtreecommitdiff
path: root/parts/deployment.nix
diff options
context:
space:
mode:
Diffstat (limited to 'parts/deployment.nix')
-rw-r--r--parts/deployment.nix11
1 files changed, 4 insertions, 7 deletions
diff --git a/parts/deployment.nix b/parts/deployment.nix
index b76120f..3620d84 100644
--- a/parts/deployment.nix
+++ b/parts/deployment.nix
@@ -4,16 +4,13 @@
pkgs,
system,
...
- }: let
- inherit (pkgs) dockerTools;
- inherit (self.packages.${system}) teawiebot-smol;
- in {
+ }: {
packages = {
- container = dockerTools.buildLayeredImage {
+ container = pkgs.dockerTools.buildLayeredImage {
name = "teawiebot";
tag = "latest";
- contents = [dockerTools.caCertificates];
- config.Cmd = ["${lib.getExe teawiebot-smol}"];
+ contents = [pkgs.dockerTools.caCertificates];
+ config.Cmd = [(lib.getExe self.packages.${system}.teawiebot-smol)];
};
};
};