1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2026-01-27 04:06:28 +01:00

feat: reorganize, update

This commit is contained in:
Ryan Cao 2024-12-02 09:48:30 +08:00
parent eb6b664802
commit 872c6be493
Signed by: ryanccn
GPG key ID: 48C96B2057D71CB1
10 changed files with 140 additions and 139 deletions

View file

@ -77,6 +77,10 @@
url = "github:ryanccn/vivid-zsh";
flake = false;
};
systems = {
url = "github:nix-systems/default";
};
};
outputs =
@ -84,32 +88,18 @@
self,
nixpkgs,
nix-darwin,
home-manager,
nix-index-database,
darwin-custom-icons,
systems,
...
}@inputs:
let
inherit (nixpkgs) lib;
systems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
forAllSystems = lib.genAttrs systems;
forAllSystems = lib.genAttrs (import systems);
in
{
darwinConfigurations = {
Ryans-MacBook-Pro = nix-darwin.lib.darwinSystem {
modules = [
./modules/_module.nix
home-manager.darwinModules.home-manager
nix-index-database.darwinModules.nix-index
darwin-custom-icons.darwinModules.default
./system.nix
];