mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
20 lines
773 B
Nix
20 lines
773 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
users.users.yoda = {
|
|
packages = with pkgs; [
|
|
# As I got the error below, I switched to the unstable version:
|
|
# You are using pmbootstrap version 1.50.1, but version 1.53.0 is required.
|
|
# Please update your pmbootstrap version (with your distribution's package manager).
|
|
unstable.pmbootstrap
|
|
];
|
|
};
|
|
|
|
# For netboot, port 9999 has to be opened.
|
|
#networking.firewall.allowedTCPPorts = [ 9999 ];
|
|
# 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
|
|
}
|