mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
fix: remove mise as package manager
natively install node, bun, uv
This commit is contained in:
parent
8b537c2d14
commit
efd7b1e810
11 changed files with 79 additions and 125 deletions
3
modules/aspects/_cli-tools/bun.nix
Normal file
3
modules/aspects/_cli-tools/bun.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
programs.bun.enable = true;
|
||||
}
|
||||
|
|
@ -1,13 +1,15 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./zoxide.nix
|
||||
./bat.nix
|
||||
./bun.nix
|
||||
./eza.nix
|
||||
./fd.nix
|
||||
./fzf.nix
|
||||
./jq.nix
|
||||
./lazygit.nix
|
||||
./mise.nix
|
||||
./npm.nix
|
||||
./ripgrep.nix
|
||||
./uv.nix
|
||||
./zoxide.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
programs.mise = {
|
||||
enable = true;
|
||||
|
||||
globalConfig = {
|
||||
tools = {
|
||||
node = "lts";
|
||||
uv = "latest";
|
||||
python = "3.13";
|
||||
};
|
||||
settings = {
|
||||
experimental = true;
|
||||
env_file = ".env";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
15
modules/aspects/_cli-tools/npm.nix
Normal file
15
modules/aspects/_cli-tools/npm.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.npm = {
|
||||
enable = true;
|
||||
package = pkgs.nodejs_24;
|
||||
settings.prefix = "${config.home.homeDirectory}/.npm";
|
||||
};
|
||||
|
||||
home.sessionPath = [
|
||||
"${config.home.homeDirectory}/.npm/bin"
|
||||
];
|
||||
}
|
||||
3
modules/aspects/_cli-tools/uv.nix
Normal file
3
modules/aspects/_cli-tools/uv.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
programs.uv.enable = true;
|
||||
}
|
||||
|
|
@ -42,7 +42,6 @@
|
|||
"vi-mode"
|
||||
"zoxide"
|
||||
"eza"
|
||||
"mise"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
repo.homeModules.desktop = {
|
||||
programs.aerospace = {
|
||||
enable = true;
|
||||
userSettings = {
|
||||
launchd.enable = true;
|
||||
settings = {
|
||||
start-at-login = true;
|
||||
accordion-padding = 10;
|
||||
default-root-container-layout = "tiles";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{...}: {
|
||||
repo.homeModules.fenrir = {
|
||||
programs = {
|
||||
aerospace.userSettings.workspace-to-monitor-force-assignment = {
|
||||
aerospace.settings.workspace-to-monitor-force-assignment = {
|
||||
"1" = ["secondary" "main"];
|
||||
"2" = ["secondary" "main"];
|
||||
"3" = ["secondary" "main"];
|
||||
|
|
|
|||
|
|
@ -1,22 +1,21 @@
|
|||
{inputs, ...}: {
|
||||
{...}: {
|
||||
flake.modules.darwin.homebrew = {config, ...}: {
|
||||
nix-homebrew = {
|
||||
enable = true;
|
||||
enableRosetta = true;
|
||||
user = config.repo.user.name;
|
||||
taps = {
|
||||
"homebrew/homebrew-core" = inputs.homebrew-core;
|
||||
"homebrew/homebrew-cask" = inputs.homebrew-cask;
|
||||
};
|
||||
mutableTaps = false;
|
||||
mutableTaps = true;
|
||||
};
|
||||
|
||||
homebrew = {
|
||||
enable = true;
|
||||
|
||||
onActivation = {
|
||||
autoUpdate = true;
|
||||
autoUpdate = false;
|
||||
cleanup = "zap";
|
||||
extraFlags = [
|
||||
"--verbose"
|
||||
];
|
||||
};
|
||||
|
||||
masApps = {
|
||||
|
|
@ -25,26 +24,24 @@
|
|||
Bitwarden = 1352778147;
|
||||
};
|
||||
|
||||
taps = builtins.attrNames config.nix-homebrew.taps;
|
||||
|
||||
brews = [
|
||||
"gemini-cli"
|
||||
];
|
||||
|
||||
casks = [
|
||||
"batfi"
|
||||
"hammerspoon"
|
||||
"shottr"
|
||||
"arc"
|
||||
"batfi"
|
||||
"claude-code@latest"
|
||||
"codex"
|
||||
"claude-code"
|
||||
"telegram"
|
||||
"raycast"
|
||||
"hammerspoon"
|
||||
"iina"
|
||||
"jordanbaird-ice"
|
||||
"keka"
|
||||
"kekaexternalhelper"
|
||||
"raycast"
|
||||
"shottr"
|
||||
"stats"
|
||||
"iina"
|
||||
"telegram"
|
||||
"utm"
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue