You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
477 B
27 lines
477 B
1 year ago
|
{ 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";
|
||
|
};
|
||
|
};
|
||
|
}
|