mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Replace deprecated pkgs.system with pkgs.stdenv.hostPlatform.system
This commit is contained in:
parent
027419f774
commit
a4ff86def8
3 changed files with 3 additions and 3 deletions
|
|
@ -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}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue