2023-10-08 12:37:56 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
users.users.yoda = {
|
|
|
|
packages = with pkgs; [
|
2023-12-15 13:03:18 +01:00
|
|
|
pmbootstrap
|
2023-10-08 12:37:56 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
# For netboot, port 9999 has to be opened.
|
2023-10-29 17:53:14 +01:00
|
|
|
#networking.firewall.allowedTCPPorts = [ 9999 ];
|
2023-10-08 12:37:56 +02:00
|
|
|
# Sadly, the tool does not detect the phone. Not sure why. I double checked that port 9999 is open:
|
|
|
|
# sudo iptables -nL
|
|
|
|
# #=> Chain nixos-fw (1 references)
|
|
|
|
# #=> target prot opt source destination
|
|
|
|
# #=> nixos-fw-accept 6 -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:9999
|
|
|
|
}
|