Files
cyper-rpi/hosts/cyper-pi-1/configuration.nix

28 lines
428 B
Nix

{
lib,
...
}:
{
imports = [
./postgres.nix
];
# Any RPi 4 specific customizations go here
networking = {
hostName = lib.mkForce "cyper-pi-1";
# interfaces.end0.ipv4.addresses = [
# {
# address = "192.168.2.41";
# prefixLength = 24;
# }
# ];
firewall = {
enable = true;
allowPing = true;
allowedTCPPorts = [ 5432 ];
};
};
}