I need to re-org this

This commit is contained in:
albert 2024-03-14 08:31:56 +09:00
parent a3e11c21c7
commit 2cc8f7539c
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
3 changed files with 9 additions and 19 deletions

View file

@ -18,4 +18,8 @@
]; ];
environment.systemPackages = [ pkgs.ctop ]; environment.systemPackages = [ pkgs.ctop ];
# Add the docker telegraf listener
services.telegraf.extraConfig.inputs.docker = {};
users.users.telegraf.extraGroups = [ "docker" ];
} }

View file

@ -1,18 +0,0 @@
{ pkgs, ... }: {
boot.kernel.sysctl = {
"fs.inotify.max_user_watches" = 10485760;
"fs.inotify.max_user_instances" = 1024;
};
virtualisation.docker = {
enable = true;
enableOnBoot = true;
autoPrune.enable = true;
autoPrune.dates = "weekly";
liveRestore = true;
};
networking.firewall.allowedTCPPorts = [
8080 30003 30005
];
}

View file

@ -18,4 +18,8 @@
]; ];
environment.systemPackages = [ pkgs.ctop ]; environment.systemPackages = [ pkgs.ctop ];
# Add the docker telegraf listener
services.telegraf.extraConfig.inputs.docker = {};
users.users.telegraf.extraGroups = [ "docker" ];
} }