2022-11-08 19:08:54 -08:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
2023-02-16 11:28:00 -08:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
];
|
2022-11-08 19:08:54 -08:00
|
|
|
|
2022-12-05 18:04:08 -08:00
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
|
2023-05-28 22:10:42 -07:00
|
|
|
networking.hosts = {
|
2023-08-05 10:30:10 -07:00
|
|
|
"10.0.0.183" = [ "headscale.nickiel.net" "files.nickiel.net" "git.nickiel.net" "nickiel.net" "jellyfin.nickiel.net" ];
|
|
|
|
};
|
|
|
|
services.tailscale.enable = true;
|
|
|
|
networking.firewall = {
|
|
|
|
checkReversePath = "loose";
|
|
|
|
trustedInterfaces = [ "tailscale0" ];
|
|
|
|
allowedUDPPorts = [ config.services.tailscale.port ];
|
2023-05-28 22:10:42 -07:00
|
|
|
};
|
2022-12-09 10:17:19 -08:00
|
|
|
time.hardwareClockInLocalTime = true;
|
|
|
|
|
2023-08-05 10:30:10 -07:00
|
|
|
|
2022-11-08 19:08:54 -08:00
|
|
|
boot.loader = {
|
|
|
|
efi = {
|
|
|
|
canTouchEfiVariables = true;
|
|
|
|
efiSysMountPoint = "/boot";
|
|
|
|
};
|
|
|
|
grub = {
|
|
|
|
devices = [ "nodev" ];
|
|
|
|
efiSupport = true;
|
|
|
|
enable = true;
|
2023-01-14 13:13:53 -08:00
|
|
|
useOSProber = false;
|
|
|
|
extraEntries = ''
|
|
|
|
menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' --class windows --class os $menuentry_id_option 'osprober-efi-364F-BE7A' {
|
|
|
|
insmod part_gpt
|
|
|
|
insmod fat
|
|
|
|
search --no-floppy --fs-uuid --set=root 364F-BE7A
|
|
|
|
chainloader /efi/Microsoft/Boot/bootmgfw.efi
|
|
|
|
}
|
|
|
|
'';
|
2022-11-08 19:08:54 -08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|