feat: added phobos

This commit is contained in:
Nick 2025-04-18 01:06:30 -05:00
parent ca0b96d147
commit 8549ffce2e
13 changed files with 290 additions and 1 deletions

View file

@ -0,0 +1,37 @@
{
lib,
flake,
...
}:
let
inherit (flake.config.machines.devices)
phobos
;
in
{
networking = {
hostName = phobos.name;
networkmanager.enable = true;
nftables.enable = true;
useDHCP = lib.mkDefault true;
firewall = {
enable = true;
allowedTCPPorts = [
22 # SSH
55771
];
};
};
services = {
avahi = {
enable = true;
openFirewall = true;
nssmdns4 = true;
};
sshd.enable = true;
openssh = {
enable = true;
settings.PasswordAuthentication = false;
};
};
}