modules/nixos/common/telegraf: fix nix 2.24

This commit is contained in:
zowoq 2024-11-26 18:36:58 +10:00
parent bf1a521290
commit dbe42374d1
2 changed files with 7 additions and 1 deletions
modules/nixos/common

View file

@ -5,5 +5,11 @@
../../shared/telegraf.nix
];
# error: creating directory '/var/empty/.cache/nix': Operation not permitted
users.users.telegraf = {
home = "/var/lib/telegraf";
createHome = true;
};
networking.firewall.allowedTCPPorts = [ 9273 ];
}