nixberry: add hostplatform
This commit is contained in:
parent
cac6c46d78
commit
e9a1b42e61
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue