hosts: add elnucentre

This commit is contained in:
Elnu 2023-11-07 10:55:54 -08:00
parent 70474fac8e
commit 4835d30b62
5 changed files with 112 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ config, ... }:
{
imports = [
./hardware-configuration.nix
./modules/ssh.nix
];
services.tailscale.enable = true;
networking.firewall = {
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
grub = {
efiSupport = true;
device = "nodev";
};
};
}