Replace deprecated pkgs.system with pkgs.stdenv.hostPlatform.system

This commit is contained in:
SebastianStork 2025-11-26 20:08:19 +01:00
parent 027419f774
commit a4ff86def8
Signed by: SebastianStork
SSH key fingerprint: SHA256:iEM011ogNMG1q8+U500adGu/9rpPuZ2KnFtbdLeqTiI
3 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ in
config = lib.mkIf cfg.bouncers.firewall {
services.crowdsec-firewall-bouncer = {
enable = true;
package = inputs.crowdsec.packages.${pkgs.system}.crowdsec-firewall-bouncer;
package = inputs.crowdsec.packages.${pkgs.stdenv.hostPlatform.system}.crowdsec-firewall-bouncer;
settings = {
api_key = "cs-firewall-bouncer";
api_url = "http://localhost:${toString cfg.apiPort}";