feat: changed system naming convention

This commit is contained in:
Nick 2025-03-01 15:58:02 -06:00
parent 33455dccd9
commit 1b36918ced
30 changed files with 51 additions and 49 deletions

View file

@ -0,0 +1,37 @@
{
lib,
flake,
...
}:
let
inherit (flake.config.machines.devices)
deimos
;
in
{
networking = {
hostName = deimos.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;
};
};
}