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

@ -45,7 +45,7 @@
name = uuid; name = uuid;
value = { value = {
install_url = "file:///${ install_url = "file:///${
inputs.firefox-addons.packages.${pkgs.system}.${shortId} inputs.firefox-addons.packages.${pkgs.stdenv.hostPlatform.system}.${shortId}
}/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/${uuid}.xpi"; }/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/${uuid}.xpi";
installation_mode = "force_installed"; installation_mode = "force_installed";
default_area = "menupanel"; default_area = "menupanel";

View file

@ -15,7 +15,7 @@
extensions = extensions =
let let
vscode-extensions = vscode-extensions =
inputs.vscode-extensions.extensions.${pkgs.system}.forVSCodeVersion inputs.vscode-extensions.extensions.${pkgs.stdenv.hostPlatform.system}.forVSCodeVersion
config.programs.vscode.package.version; config.programs.vscode.package.version;
inherit (vscode-extensions) open-vsx; inherit (vscode-extensions) open-vsx;
in in

View file

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