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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue