mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat(adguardhome): bind only external interface
This commit is contained in:
parent
31ef29569d
commit
3f6286ef31
7 changed files with 122 additions and 59 deletions
|
@ -111,6 +111,8 @@
|
|||
config = {config, ...}: {
|
||||
imports = cfg.commonImports ++ node.imports ++ vmCfg.modules;
|
||||
|
||||
lib.microvm.mac = mac;
|
||||
|
||||
microvm = {
|
||||
hypervisor = mkDefault "cloud-hypervisor";
|
||||
|
||||
|
|
|
@ -158,7 +158,8 @@ in {
|
|||
systemd.services.telegraf = {
|
||||
path = [
|
||||
# Make sensors refer to the correct wrapper
|
||||
(mkIf config.services.smartd.enable (pkgs.writeShellScriptBin "sensors" config.security.elewrap.telegraf-sensors.path))
|
||||
(mkIf config.services.smartd.enable
|
||||
(pkgs.writeShellScriptBin "sensors" config.security.elewrap.telegraf-sensors.path))
|
||||
];
|
||||
serviceConfig = {
|
||||
# For wireguard statistics
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue