I need to re-org this
This commit is contained in:
parent
a3e11c21c7
commit
2cc8f7539c
3 changed files with 9 additions and 19 deletions
|
@ -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" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -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" ];
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue