nix/nixos/hosts/nixos-rpi4-img/default.nix
2023-09-18 11:18:14 +09:00

6 lines
No EOL
244 B
Nix

{ config, lib, pkgs, modulesPath, platform, ... }: {
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
nixpkgs.buildPlatform.system = $platform;
networking.hostName = "nixos-rpi4-img";
networking.firewall.allowedTCPPorts = [ 22 ];
}