fix: remove mise as package manager

natively install node, bun, uv
This commit is contained in:
Poby 2026-05-11 20:59:04 +09:00
parent 8b537c2d14
commit efd7b1e810
No known key found for this signature in database
11 changed files with 79 additions and 125 deletions

109
flake.lock generated
View file

@ -3,16 +3,16 @@
"brew-src": { "brew-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1774235677, "lastModified": 1778146321,
"narHash": "sha256-0ryNYmzDAeRlrzPTAgmzGH/Cgc8iv/LBN6jWGUANvIk=", "narHash": "sha256-HeBwuJmuBioZHyZqDOcf7W/xsMFupSD583v6I5Cl7a8=",
"owner": "Homebrew", "owner": "Homebrew",
"repo": "brew", "repo": "brew",
"rev": "894a3d23ac0c8aaf561b9874b528b9cb2e839201", "rev": "af835384ac574f76025adb38b292b04cecee1f1f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "Homebrew", "owner": "Homebrew",
"ref": "5.1.1", "ref": "5.1.10",
"repo": "brew", "repo": "brew",
"type": "github" "type": "github"
} }
@ -24,16 +24,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1772129556, "lastModified": 1777780666,
"narHash": "sha256-Utk0zd8STPsUJPyjabhzPc5BpPodLTXrwkpXBHYnpeg=", "narHash": "sha256-8wURyQMdDkGUarSTKOGdCuFfYiwa3HbzwscUfn3STDE=",
"owner": "nix-darwin", "owner": "nix-darwin",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "ebec37af18215214173c98cf6356d0aca24a2585", "rev": "8c62fba0854ba15c8917aed18894dbccb48a3777",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-darwin", "owner": "nix-darwin",
"ref": "nix-darwin-25.11",
"repo": "nix-darwin", "repo": "nix-darwin",
"type": "github" "type": "github"
} }
@ -59,11 +58,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1775087534, "lastModified": 1777988971,
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=", "narHash": "sha256-qIoWPDs+0/8JecyYgE3gpKQxW/4bLW/gp45vow9ioCQ=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b", "rev": "0678d8986be1661af6bb555f3489f2fdfc31f6ff",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -100,52 +99,19 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1775425411, "lastModified": 1778444552,
"narHash": "sha256-KY6HsebJHEe5nHOWP7ur09mb0drGxYSzE3rQxy62rJo=", "narHash": "sha256-f18pIiR9q/p1vHY93gmAum7aHhQOG49oGvAB9+lptRo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "0d02ec1d0a05f88ef9e74b516842900c41f0f2fe", "rev": "dcebe66f958673729896eec2de4abfd86ef22d21",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-25.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
}, },
"homebrew-cask": {
"flake": false,
"locked": {
"lastModified": 1776349441,
"narHash": "sha256-sPW2azc9C0OVmljFhq7fD9U3VEleGpDDp5kLoeXeb98=",
"owner": "homebrew",
"repo": "homebrew-cask",
"rev": "b72ceb562b44d72ccdf03cb7f3880e8d12612fd2",
"type": "github"
},
"original": {
"owner": "homebrew",
"repo": "homebrew-cask",
"type": "github"
}
},
"homebrew-core": {
"flake": false,
"locked": {
"lastModified": 1776347370,
"narHash": "sha256-L7aOcWUBn4Jh67nPGMXKbwY0gZva9gj85ge4Rgp4F38=",
"owner": "homebrew",
"repo": "homebrew-core",
"rev": "78157d31ba2c8d2319fd6ca1cebde6c3018fa06c",
"type": "github"
},
"original": {
"owner": "homebrew",
"repo": "homebrew-core",
"type": "github"
}
},
"import-tree": { "import-tree": {
"locked": { "locked": {
"lastModified": 1773693634, "lastModified": 1773693634,
@ -163,11 +129,11 @@
}, },
"mnw": { "mnw": {
"locked": { "locked": {
"lastModified": 1770419553, "lastModified": 1777828893,
"narHash": "sha256-b1XqsH7AtVf2dXmq2iyRr2NC1yG7skY7Z6N2MpWHlK4=", "narHash": "sha256-gVWVnmyNr74BVKfhMMZDWkhx2699dhmZ2g0W8TTHtkk=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "mnw", "repo": "mnw",
"rev": "2aaffa8030d0b262176146adbb6b0e6374ce2957", "rev": "c1c0b544bfabe6669b5a6a0383ccb475fe60258b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -184,11 +150,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1768214250, "lastModified": 1776882296,
"narHash": "sha256-hnBZDQWUxJV3KbtvyGW5BKLO/fAwydrxm5WHCWMQTbw=", "narHash": "sha256-DWZozXwMsgvUqfVlL1mQ8dOxW7GJ/8CdyaDN+1niZRg=",
"owner": "feel-co", "owner": "feel-co",
"repo": "ndg", "repo": "ndg",
"rev": "a6bd3c1ce2668d096e4fdaaa03ad7f03ba1fbca8", "rev": "ab7d78d4884b3a34968cf9fa3d16c0c1246d5c6e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -203,11 +169,11 @@
"brew-src": "brew-src" "brew-src": "brew-src"
}, },
"locked": { "locked": {
"lastModified": 1774720267, "lastModified": 1778332591,
"narHash": "sha256-YYftFe8jyfpQI649yfr0E+dqEXE2jznZNcYvy/lKV1U=", "narHash": "sha256-ctJ3ADtugrnbMfMBobA645gCqXVIyHnsCNMkVaIuSiM=",
"owner": "zhaofengli", "owner": "zhaofengli",
"repo": "nix-homebrew", "repo": "nix-homebrew",
"rev": "a7760a3a83f7609f742861afb5732210fdc437ed", "rev": "7d0038b5bb60568ec41f5f4ef5067cd221ca7c0d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -218,27 +184,27 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1776237196, "lastModified": 1778458615,
"narHash": "sha256-ZsBow5uHrhwW2UhqiVlO0DW3P07TtCy786mZvwzQj4M=", "narHash": "sha256-cY07EsdhBJ8tFXPzDYevgqxRev9ZLxFonuq9wmq5kwg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "817d1a3f570e604a3cad52c27eabc92af705db60", "rev": "c6e5ca3c836a5f4dd9af9f2c1fc1c38f0fac988a",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixpkgs-25.11-darwin", "ref": "nixpkgs-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1774748309, "lastModified": 1777168982,
"narHash": "sha256-+U7gF3qxzwD5TZuANzZPeJTZRHS29OFQgkQ2kiTJBIQ=", "narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs.lib", "repo": "nixpkgs.lib",
"rev": "333c4e0545a6da976206c74db8773a1645b5870a", "rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -259,11 +225,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1776331518, "lastModified": 1778408907,
"narHash": "sha256-Hj6Rqmyv7f2CkQN4f3NLnK0VUJM/ypfHIrkGckA4WQA=", "narHash": "sha256-QXjdRz5fssxAWDrtfBYxvjMtTqJzQAbnAmX3u22xCck=",
"owner": "notashelf", "owner": "notashelf",
"repo": "nvf", "repo": "nvf",
"rev": "39416a521dbbc3b722de1bb3607cddaa1e698f4a", "rev": "e86a92e4b29b499e5f1285b737b7612115103da9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -277,14 +243,9 @@
"darwin": "darwin", "darwin": "darwin",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"home-manager": "home-manager", "home-manager": "home-manager",
"homebrew-cask": "homebrew-cask",
"homebrew-core": "homebrew-core",
"import-tree": "import-tree", "import-tree": "import-tree",
"nix-homebrew": "nix-homebrew", "nix-homebrew": "nix-homebrew",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-darwin": [
"nixpkgs"
],
"nvf": "nvf", "nvf": "nvf",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"
} }
@ -296,11 +257,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1776119890, "lastModified": 1777944972,
"narHash": "sha256-Zm6bxLNnEOYuS/SzrAGsYuXSwk3cbkRQZY0fJnk8a5M=", "narHash": "sha256-VfGRo1qTBKOe3s2gOv8LSoA6Fk19PvBlwQ1ECN0Evn8=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "d4971dd58c6627bfee52a1ad4237637c0a2fb0cd", "rev": "c591bf665727040c6cc5cb409079acb22dcce33c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -2,33 +2,23 @@
description = "Nix for Poby's MacOS"; description = "Nix for Poby's MacOS";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-25.11-darwin"; nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs-darwin.follows = "nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.url = "github:hercules-ci/flake-parts";
import-tree.url = "github:vic/import-tree"; import-tree.url = "github:vic/import-tree";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-25.11"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
darwin = { darwin = {
url = "github:nix-darwin/nix-darwin/nix-darwin-25.11"; url = "github:nix-darwin/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-homebrew.url = "github:zhaofengli/nix-homebrew"; nix-homebrew.url = "github:zhaofengli/nix-homebrew";
homebrew-core = {
url = "github:homebrew/homebrew-core";
flake = false;
};
homebrew-cask = {
url = "github:homebrew/homebrew-cask";
flake = false;
};
nvf = { nvf = {
url = "github:notashelf/nvf"; url = "github:notashelf/nvf";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View file

@ -0,0 +1,3 @@
{
programs.bun.enable = true;
}

View file

@ -1,13 +1,15 @@
{...}: { {...}: {
imports = [ imports = [
./zoxide.nix
./bat.nix ./bat.nix
./bun.nix
./eza.nix ./eza.nix
./fd.nix ./fd.nix
./fzf.nix ./fzf.nix
./jq.nix ./jq.nix
./lazygit.nix ./lazygit.nix
./mise.nix ./npm.nix
./ripgrep.nix ./ripgrep.nix
./uv.nix
./zoxide.nix
]; ];
} }

View file

@ -1,17 +0,0 @@
{
programs.mise = {
enable = true;
globalConfig = {
tools = {
node = "lts";
uv = "latest";
python = "3.13";
};
settings = {
experimental = true;
env_file = ".env";
};
};
};
}

View 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"
];
}

View file

@ -0,0 +1,3 @@
{
programs.uv.enable = true;
}

View file

@ -42,7 +42,6 @@
"vi-mode" "vi-mode"
"zoxide" "zoxide"
"eza" "eza"
"mise"
]; ];
}; };
}; };

View file

@ -2,7 +2,8 @@
repo.homeModules.desktop = { repo.homeModules.desktop = {
programs.aerospace = { programs.aerospace = {
enable = true; enable = true;
userSettings = { launchd.enable = true;
settings = {
start-at-login = true; start-at-login = true;
accordion-padding = 10; accordion-padding = 10;
default-root-container-layout = "tiles"; default-root-container-layout = "tiles";

View file

@ -1,7 +1,7 @@
{...}: { {...}: {
repo.homeModules.fenrir = { repo.homeModules.fenrir = {
programs = { programs = {
aerospace.userSettings.workspace-to-monitor-force-assignment = { aerospace.settings.workspace-to-monitor-force-assignment = {
"1" = ["secondary" "main"]; "1" = ["secondary" "main"];
"2" = ["secondary" "main"]; "2" = ["secondary" "main"];
"3" = ["secondary" "main"]; "3" = ["secondary" "main"];

View file

@ -1,22 +1,21 @@
{inputs, ...}: { {...}: {
flake.modules.darwin.homebrew = {config, ...}: { flake.modules.darwin.homebrew = {config, ...}: {
nix-homebrew = { nix-homebrew = {
enable = true; enable = true;
enableRosetta = true; enableRosetta = true;
user = config.repo.user.name; user = config.repo.user.name;
taps = { mutableTaps = true;
"homebrew/homebrew-core" = inputs.homebrew-core;
"homebrew/homebrew-cask" = inputs.homebrew-cask;
};
mutableTaps = false;
}; };
homebrew = { homebrew = {
enable = true; enable = true;
onActivation = { onActivation = {
autoUpdate = true; autoUpdate = false;
cleanup = "zap"; cleanup = "zap";
extraFlags = [
"--verbose"
];
}; };
masApps = { masApps = {
@ -25,26 +24,24 @@
Bitwarden = 1352778147; Bitwarden = 1352778147;
}; };
taps = builtins.attrNames config.nix-homebrew.taps;
brews = [ brews = [
"gemini-cli" "gemini-cli"
]; ];
casks = [ casks = [
"batfi"
"hammerspoon"
"shottr"
"arc" "arc"
"batfi"
"claude-code@latest"
"codex" "codex"
"claude-code" "hammerspoon"
"telegram" "iina"
"raycast"
"jordanbaird-ice" "jordanbaird-ice"
"keka" "keka"
"kekaexternalhelper" "kekaexternalhelper"
"raycast"
"shottr"
"stats" "stats"
"iina" "telegram"
"utm" "utm"
]; ];
}; };