From a5c938aae559fa3a1b28de490b18d7a58ed1f884 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 31 Jan 2024 13:23:52 +0900 Subject: [PATCH] test --- nixos/common/services/docker.nix | 3 ++- nixos/common/services/podman.nix | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/common/services/docker.nix b/nixos/common/services/docker.nix index 869aff85..33b9f913 100644 --- a/nixos/common/services/docker.nix +++ b/nixos/common/services/docker.nix @@ -1,4 +1,4 @@ -{ inputs, pkgs, ... }: { +{ inputs, pkgs, system, ... }: { boot.kernel.sysctl = { "fs.inotify.max_user_watches" = 10485760; "fs.inotify.max_user_instances" = 1024; @@ -17,6 +17,7 @@ docker-compose ctop lazydocker + inputs.compose2nix.packages.${system}.default ]; # Add the docker telegraf listener diff --git a/nixos/common/services/podman.nix b/nixos/common/services/podman.nix index 07bb93eb..4e767f4b 100644 --- a/nixos/common/services/podman.nix +++ b/nixos/common/services/podman.nix @@ -1,4 +1,4 @@ -{ inputs, pkgs, ... }: { +{ inputs, pkgs, system, ... }: { # Need to increase this because the number of # containers I have drive the defaults over the max boot.kernel.sysctl = { @@ -21,6 +21,6 @@ environment.systemPackages = with pkgs; [ podman-compose podman-tui - inputs.compose2nix.packages.x86_64-linux.default + inputs.compose2nix.packages.${system}.default ]; }