From 60634ba1af34c10547b157ae9453026c2ead10f7 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Sat, 11 Apr 2026 18:00:04 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A6=81=E7=94=A8=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E9=9A=94=E7=A6=BB=EF=BC=8C=E7=A7=BB=E9=99=A4=E6=9C=AA?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=20mkHome?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/default.nix | 17 ----------------- modules/darwin/default.nix | 1 + 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index 4969333..037ba72 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -67,21 +67,4 @@ in ++ extraModules; }; - # ── Standalone Home Manager (no NixOS / no Darwin) ── - mkHome = - { - system, - username, - }: - inputs.home-manager.lib.homeManagerConfiguration { - pkgs = import inputs.nixpkgs { - inherit system; - config.allowUnfree = true; - }; - extraSpecialArgs = { - inherit inputs username; - hostname = "standalone"; - }; - modules = [ ../home ]; - }; } diff --git a/modules/darwin/default.nix b/modules/darwin/default.nix index c8a7d06..a88b68a 100644 --- a/modules/darwin/default.nix +++ b/modules/darwin/default.nix @@ -23,6 +23,7 @@ # ── macOS system preferences ─────────────────────── system.defaults = { + LaunchServices.LSQuarantine = false; dock = { autohide = true; show-recents = false;