From bf8d138fcaeb088e399ce309f30fa750bc78700b Mon Sep 17 00:00:00 2001 From: xenia Date: Tue, 19 Mar 2024 13:10:37 +0100 Subject: [PATCH] Set hostname in darwin-config, use hostname for darwin home manager config --- darwin.nix | 2 ++ flake.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/darwin.nix b/darwin.nix index 3597fc7f..fba0f7ee 100644 --- a/darwin.nix +++ b/darwin.nix @@ -49,6 +49,8 @@ security.pam.enableSudoTouchIdAuth = true; + networking.hostName = "Joe-Bidens-MacBook-Pro"; + system.defaults = { NSGlobalDomain.AppleShowAllFiles = true; finder.AppleShowAllFiles = true; diff --git a/flake.nix b/flake.nix index b20b1fb5..94b0cd9f 100644 --- a/flake.nix +++ b/flake.nix @@ -68,7 +68,7 @@ mkNixOsGraphical = opts: import ./nixos/graphical.nix (opts // { fox-layout = rachel.keyboardLayouts.fox; }); mkNixOsNetworking = opts: import ./nixos/networking.nix opts; in { - homeConfigurations."xenia@Joe-Bidens-MacBook-Pro.local" = + homeConfigurations."xenia@Joe-Bidens-MacBook-Pro" = let system = "aarch64-darwin"; pkgs = mkPkgs system;