/ flake.nix
flake.nix
 1  {
 2    inputs = {
 3      # keep-sorted start
 4      clan-core.inputs.disko.follows = "disko";
 5      clan-core.inputs.flake-parts.follows = "flake-parts";
 6      clan-core.inputs.nix-darwin.follows = "nix-darwin";
 7      clan-core.inputs.sops-nix.follows = "sops-nix";
 8      clan-core.inputs.systems.follows = "systems";
 9      clan-core.inputs.treefmt-nix.follows = "treefmt-nix";
10      clan-core.url = "https://git.clan.lol/clan/clan-core/archive/25.11.tar.gz";
11      cognee-nix.inputs.flake-parts.follows = "flake-parts";
12      cognee-nix.inputs.nixpkgs.follows = "nixpkgs";
13      cognee-nix.inputs.systems.follows = "systems";
14      cognee-nix.inputs.treefmt-nix.follows = "treefmt-nix";
15      cognee-nix.url = "github:mulatta/cognee-nix";
16      direnv-instant.inputs.nixpkgs.follows = "nixpkgs";
17      direnv-instant.url = "github:Mic92/direnv-instant";
18      disko.inputs.nixpkgs.follows = "nixpkgs";
19      disko.url = "github:nix-community/disko";
20      flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
21      flake-parts.url = "github:hercules-ci/flake-parts";
22      home-manager.inputs.nixpkgs.follows = "nixpkgs";
23      home-manager.url = "github:nix-community/home-manager/release-25.11";
24      jmt.inputs.nixpkgs.follows = "nixpkgs";
25      jmt.url = "github:mulatta/jmt";
26      llm-agents.url = "github:numtide/llm-agents.nix";
27      niks3.inputs.nixpkgs.follows = "nixpkgs";
28      niks3.url = "github:Mic92/niks3";
29      nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
30      nix-darwin.url = "github:nix-darwin/nix-darwin";
31      nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
32      nix-index-database.url = "github:nix-community/nix-index-database";
33      nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
34      nixos-hardware.url = "github:NixOS/nixos-hardware";
35      nixpkgs.url = "git+https://github.com/mulatta/nixpkgs?shallow=1&rev=70801e06d9730c4f1704fbd3bbf5b8e11c03a2a7";
36      rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
37      rust-overlay.url = "github:oxalica/rust-overlay";
38      sops-nix.url = "github:Mic92/sops-nix";
39      srvos.inputs.nixpkgs.follows = "nixpkgs";
40      srvos.url = "github:nix-community/srvos";
41      systems.url = "github:nix-systems/default";
42      treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
43      treefmt-nix.url = "github:numtide/treefmt-nix";
44      zjstatus.url = "github:dj95/zjstatus";
45      zsh-helix-mode.url = "github:Multirious/zsh-helix-mode";
46      # keep-sorted end
47    };
48  
49    outputs =
50      inputs@{
51        flake-parts,
52        systems,
53        ...
54      }:
55      flake-parts.lib.mkFlake { inherit inputs; } {
56        systems = import systems;
57        imports = [
58          ./checks/flake-module.nix
59          ./formatter/flake-module.nix
60          ./home-manager/flake-module.nix
61          ./home-manager/modules/helix/flake-module.nix
62          ./home-manager/modules/yazi/flake-module.nix
63          ./overlays/flake-module.nix
64          ./machines/flake-module.nix
65          ./packages/flake-module.nix
66          ./shells/flake-module.nix
67          ./terraform/flake-module.nix
68          inputs.clan-core.flakeModules.default
69          inputs.home-manager.flakeModules.home-manager
70        ];
71  
72        flake.nixosModules.imports = [ ./nixosModules ];
73        flake.darwinModules.imports = [ ./darwinModules ];
74      };
75  }