refactor: 禁用下载隔离,移除未使用的 mkHome
This commit is contained in:
@@ -67,21 +67,4 @@ in
|
|||||||
++ extraModules;
|
++ 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 ];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
# ── macOS system preferences ───────────────────────
|
# ── macOS system preferences ───────────────────────
|
||||||
system.defaults = {
|
system.defaults = {
|
||||||
|
LaunchServices.LSQuarantine = false;
|
||||||
dock = {
|
dock = {
|
||||||
autohide = true;
|
autohide = true;
|
||||||
show-recents = false;
|
show-recents = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user