From 405b1ce60fe11195b0368297a3c02b4cd9970a82 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Mon, 16 Dec 2024 14:08:29 -0500 Subject: [PATCH] adjust lookingglass computer name --- hosts/lookingglass/default.nix | 2 +- modules/darwin/networking.nix | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/hosts/lookingglass/default.nix b/hosts/lookingglass/default.nix index 9f34ae6..9a8246c 100644 --- a/hosts/lookingglass/default.nix +++ b/hosts/lookingglass/default.nix @@ -26,7 +26,7 @@ inputs.darwin.lib.darwinSystem { inputs.mac-app-util.darwinModules.default { nixpkgs.overlays = [ inputs.firefox-darwin.overlay ] ++ overlays; - networking.hostName = "lookingglass"; + networking.computerName = "NYCM-NMASUR1"; identityFile = "/Users/Noah.Masur/.ssh/id_ed25519"; gui.enable = true; theme = { diff --git a/modules/darwin/networking.nix b/modules/darwin/networking.nix index dca3caf..3a4949e 100644 --- a/modules/darwin/networking.nix +++ b/modules/darwin/networking.nix @@ -6,11 +6,12 @@ }: { - config = lib.mkIf pkgs.stdenv.isDarwin { - networking = { - computerName = config.networking.hostName; - # Adjust if necessary - # hostName = ""; - }; - }; + # config = lib.mkIf pkgs.stdenv.isDarwin { + # networking = { + # computerName = config.networking.hostName; + # # Adjust if necessary + # # hostName = ""; + # }; + # }; + # } }