From 3f25fca598f6059bf466a4f71b52f69c8fa2cd76 Mon Sep 17 00:00:00 2001 From: Spotlight Date: Sun, 9 Feb 2025 03:08:45 -0600 Subject: [PATCH] spotlights-macbook-air: Properly set hostname Oops --- hosts/linux/spotlights-macbook-air/configuration.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hosts/linux/spotlights-macbook-air/configuration.nix b/hosts/linux/spotlights-macbook-air/configuration.nix index fd8d85e..a9cb5d6 100644 --- a/hosts/linux/spotlights-macbook-air/configuration.nix +++ b/hosts/linux/spotlights-macbook-air/configuration.nix @@ -12,10 +12,12 @@ ]; # Use the systemd-boot EFI boot loader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = false; + boot.loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = false; + }; - # GPU enablement + # Asahi Linux support hardware.asahi = { peripheralFirmwareDirectory = /boot/asahi; # GPU enablement @@ -25,11 +27,11 @@ }; networking = { + hostName = "spotlights-macbook-air"; wireless.iwd = { enable = true; settings.General.EnableNetworkConfiguration = true; }; - networkmanager.enable = true; }; environment.systemPackages = with pkgs; [