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