nix-git/modules/pmbootstrap.nix
2024-11-21 21:21:53 +01:00

16 lines
340 B
Nix

{ config, pkgs, ... }:
{
imports = [
# Provides fastboot and udev rules
./android.nix
];
environment.systemPackages = with pkgs; [
unstable.pmbootstrap
];
# Required to serve the postmarketOS image via netboot.
# https://wiki.postmarketos.org/wiki/Netboot#Usage
networking.firewall.allowedTCPPorts = [ 9999 ];
}