From 55883730942f7a6f1c66d2bd2d118ad01a35d50e Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 8 Aug 2024 02:59:19 -0700 Subject: [PATCH] refactor(phobos): switch to correct hostname and use new hosts convention --- flake.nix | 4 ++-- .../darwin-configuration.nix => hosts/phobos/default.nix | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename modules/darwin/darwin-configuration.nix => hosts/phobos/default.nix (100%) diff --git a/flake.nix b/flake.nix index a8b0626..26f567d 100755 --- a/flake.nix +++ b/flake.nix @@ -107,10 +107,10 @@ formatter.aarch64-linux = nixpkgs.legacyPackages.aarch64-linux.nixfmt; # Build darwin flake using: # $ darwin-rebuild build --flake .#Youwens-MacBook-Pro - darwinConfigurations."Youwens-MacBook-Pro" = nix-darwin.lib.darwinSystem { + darwinConfigurations.phobos = nix-darwin.lib.darwinSystem { specialArgs = { inherit inputs; }; modules = [ - ./modules/darwin/darwin-configuration.nix + ./hosts/phobos home-manager.darwinModules.home-manager { home-manager.useGlobalPkgs = true; diff --git a/modules/darwin/darwin-configuration.nix b/hosts/phobos/default.nix similarity index 100% rename from modules/darwin/darwin-configuration.nix rename to hosts/phobos/default.nix