feat: new host homeserver

This commit is contained in:
Iain Learmonth 2025-06-10 21:45:02 +01:00
parent 0c28afc6c5
commit f2712b4822
4 changed files with 134 additions and 1 deletions

View file

@ -0,0 +1,29 @@
{
config,
lib,
pkgs,
apple-silicon,
...
}:
{
nixpkgs.overlays = [ apple-silicon.overlays.apple-silicon-overlay ];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = false;
hardware.asahi.useExperimentalGPUDriver = true;
hardware.asahi.extractPeripheralFirmware = true;
networking.hostName = "homeserver";
networking.networkmanager.enable = true;
services.xserver.xkb.layout = "us";
services.openssh.enable = true;
networking.firewall.allowedTCPPorts = [ 22 ];
networking.firewall.allowedUDPPorts = [ ];
system.stateVersion = "25.11";
}