rename system to hostPlatform

This commit is contained in:
Noa Aarts 2025-11-08 11:05:14 +01:00
parent 7a3d279c35
commit e122fb82ec
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -79,8 +79,8 @@ in
] ]
# FLURRY AND TSUNAMI :3 (I made these) # FLURRY AND TSUNAMI :3 (I made these)
++ lib.optionals enableFlut [ ++ lib.optionals enableFlut [
inputs.flurry.packages.${system}.default inputs.flurry.packages.${stdenv.hostPlatform.system}.default
inputs.tsunami.packages.${system}.default inputs.tsunami.packages.${stdenv.hostPlatform.system}.default
] ]
# and ofc the things that are only logical with graphics # and ofc the things that are only logical with graphics
++ lib.optionals enableGraphical [ ++ lib.optionals enableGraphical [
@ -143,7 +143,7 @@ in
"niri/config.kdl".source = import ../../packages/niri-config/default.nix { "niri/config.kdl".source = import ../../packages/niri-config/default.nix {
inherit pkgs displays; inherit pkgs displays;
inputs = inputs; inputs = inputs;
self-pkgs = inputs.self.packages.${pkgs.system}; self-pkgs = inputs.self.packages.${pkgs.stdenv.hostPlatform.system};
}; };
}; };
}; };
@ -338,7 +338,7 @@ in
Service = { Service = {
ExecStart = "${ ExecStart = "${
inputs.automapaper.packages.${pkgs.system}.automapaper inputs.automapaper.packages.${pkgs.stdenv.hostPlatform.system}.automapaper
}/bin/automapaper -C ${display_config}/config.toml"; }/bin/automapaper -C ${display_config}/config.toml";
Restart = "on-failure"; Restart = "on-failure";
RestartSec = 15; RestartSec = 15;