From 88c409fbd4a304135d2a93603156811f32de2541 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Thu, 13 Nov 2025 19:58:03 +0100 Subject: [PATCH] minor revision --- README.md | 8 +++++--- hosts/darwin/home-default.nix | 5 ----- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 36011f4..7720a3c 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,13 @@ nix flake update ### New Host Installation ```bash -# 1. Initialize disk with disko +# For NixOS and disko sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko --flake .# - -# 2. Install NixOS sudo nixos-install --flake .# + +# For nix-darwin +sudo nix --extra-experimental-features "nix-command flakes" run nix-darwin -- switch --flake ~/.config/nix# +nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake ~/.config/nix#@ ``` ### Occasional Commands diff --git a/hosts/darwin/home-default.nix b/hosts/darwin/home-default.nix index 55c6872..7e7b21f 100644 --- a/hosts/darwin/home-default.nix +++ b/hosts/darwin/home-default.nix @@ -40,11 +40,6 @@ windowHeight = 999; }; - # Claude Code configuration - programs.claude-code-custom = { - enable = true; - }; - home.username = "yanlin"; home.homeDirectory = "/Users/yanlin"; home.stateVersion = "24.05";