nix-darwin/flake.nix
Poby efd7b1e810
fix: remove mise as package manager
natively install node, bun, uv
2026-05-11 20:59:04 +09:00

50 lines
1.1 KiB
Nix

{
description = "Nix for Poby's MacOS";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
import-tree.url = "github:vic/import-tree";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
darwin = {
url = "github:nix-darwin/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
nvf = {
url = "github:notashelf/nvf";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [
inputs.flake-parts.flakeModules.modules
./modules/flake
(inputs.import-tree ./modules/aspects)
(inputs.import-tree ./hosts)
];
systems = [
"aarch64-darwin"
];
perSystem = {pkgs, ...}: {
formatter = pkgs.alejandra;
};
};
}