nixberry: add hostplatform

This commit is contained in:
Christoph Hollizeck 2025-01-26 16:03:57 +01:00
parent cac6c46d78
commit e9a1b42e61
Signed by: Daholli
GPG key ID: 249300664F2AF2C7

View file

@ -4,6 +4,7 @@
lib,
modulesPath,
namespace,
pkgs,
...
}:
@ -16,9 +17,12 @@ in
{
imports = with inputs.nixos-hardware.nixosModules; [
(modulesPath + "/installer/scan/not-detected.nix")
raspberry-pi-5
];
nixpkgs.hostPlatform = {
system = "aarch64-linux";
};
services.tailscale = {
enable = true;
useRoutingFeatures = "server";
@ -149,6 +153,8 @@ in
remotebuild = enabled;
};
apps.cli-apps.helix.pkg = pkgs.helix;
system = {
# cachemiss for webkit gtk
hardware.networking.enable = mkForce false;