mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
111 lines
2.2 KiB
Nix
111 lines
2.2 KiB
Nix
{
|
|
description = "Ryan's MacBook Pro flake";
|
|
|
|
inputs = {
|
|
nixpkgs = {
|
|
url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
};
|
|
|
|
nix-darwin = {
|
|
url = "github:LnL7/nix-darwin";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
catppuccin = {
|
|
url = "github:Stonks3141/ctp-nix";
|
|
};
|
|
|
|
am = {
|
|
url = "github:ryanccn/am";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nish = {
|
|
url = "github:ryanccn/nish";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nrr = {
|
|
url = "github:ryanccn/nrr";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
choirpack = {
|
|
url = "github:ryanccn/choirpack";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nyoom = {
|
|
url = "https://flakehub.com/f/ryanccn/nyoom/0.*.tar.gz";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
fh = {
|
|
url = "https://flakehub.com/f/DeterminateSystems/fh/0.*.tar.gz";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.fenix.follows = "fenix";
|
|
inputs.naersk.follows = "naersk";
|
|
inputs.flake-compat.follows = "flake-compat";
|
|
};
|
|
|
|
naersk = {
|
|
url = "github:nix-community/naersk";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
fenix = {
|
|
url = "github:nix-community/fenix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
darwin-custom-icons = {
|
|
url = "github:ryanccn/nix-darwin-custom-icons";
|
|
};
|
|
|
|
ohmyzsh = {
|
|
url = "github:ohmyzsh/ohmyzsh";
|
|
flake = false;
|
|
};
|
|
|
|
vivid-zsh = {
|
|
url = "github:ryanccn/vivid-zsh";
|
|
flake = false;
|
|
};
|
|
|
|
flake-utils = {
|
|
url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
flake-compat = {
|
|
url = "github:edolstra/flake-compat";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nix-darwin,
|
|
home-manager,
|
|
darwin-custom-icons,
|
|
...
|
|
} @ inputs: {
|
|
darwinConfigurations.Ryans-MacBook-Pro = nix-darwin.lib.darwinSystem {
|
|
modules = [
|
|
home-manager.darwinModules.home-manager
|
|
darwin-custom-icons.darwinModules.default
|
|
./system.nix
|
|
];
|
|
|
|
specialArgs = {
|
|
inherit self inputs;
|
|
};
|
|
};
|
|
|
|
overlays = import ./overlays;
|
|
};
|
|
}
|