Something went wrong. Try again.
my machine config and dotfiles
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187{ description = "Infrastructure flake";
inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs-25_11.url = "github:NixOS/nixpkgs/release-25.11";
nixpkgs-mongodb-7_0_21.url = "github:NixOS/nixpkgs/50d5614029a8afcbdff6dc1663dd428eafb752f4";
systems.url = "github:nix-systems/default";
system-manager = { url = "github:numtide/system-manager"; inputs.nixpkgs.follows = "nixpkgs"; };
llm-agents = { url = "github:numtide/llm-agents.nix";
inputs = { nixpkgs.follows = "nixpkgs"; systems.follows = "systems"; }; };
nix-darwin = { url = "github:nix-darwin/nix-darwin/master"; inputs.nixpkgs.follows = "nixpkgs"; };
home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; };
_1password-shell-plugins = { url = "github:1Password/shell-plugins";
inputs = { nixpkgs.follows = "nixpkgs"; systems.follows = "systems"; }; };
agenix = { url = "github:ryantm/agenix";
inputs = { darwin.follows = "nix-darwin"; home-manager.follows = "home-manager"; nixpkgs.follows = "nixpkgs"; systems.follows = "systems"; }; };
catppuccin.url = "github:catppuccin/nix";
catppuccin-warp = { url = "github:catppuccin/warp"; flake = false; };
nix-obsidian-extensions = { url = "github:karaolidis/nix-obsidian-extensions"; inputs.nixpkgs.follows = "nixpkgs"; };
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; }; homebrew-pkpw = { url = "github:jbhannah/pkpw"; flake = false; }; homebrew-withgraphite = { url = "github:withgraphite/homebrew-tap"; flake = false; }; homebrew-sikarugir = { url = "github:Sikarugir-App/homebrew-sikarugir"; flake = false; }; };
outputs = inputs@{ nixpkgs, nix-darwin, home-manager, system-manager, ... }: let baseSpecialArgs = { inherit inputs; inherit (inputs) agenix catppuccin home-manager; isDarwin = false; }; in { homeConfigurations."archaludon.brooklyn" = home-manager.lib.homeManagerConfiguration { pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = { inherit (inputs) agenix catppuccin llm-agents nix-obsidian-extensions ; };
modules = [ ./nix/home-manager/hosts/archaludon ./nix/home-manager/users/brooklyn ]; };
nixosConfigurations.tinkaton = let specialArgs = baseSpecialArgs; in nixpkgs.lib.nixosSystem { inherit specialArgs;
system = "x86_64-linux";
modules = [ ./nix/nixos/hosts/tinkaton ]; };
systemConfigs.kalmiya = let specialArgs = baseSpecialArgs; in system-manager.lib.makeSystemConfig { inherit specialArgs;
modules = [ ./nix/system-manager/hosts/kalmiya ]; };
darwinConfigurations = let system = "aarch64-darwin";
specialArgs = baseSpecialArgs // { isDarwin = true; }; in { miraidon = nix-darwin.lib.darwinSystem { inherit system specialArgs;
modules = [ ./nix/darwin/hosts/miraidon ]; };
xerneas = nix-darwin.lib.darwinSystem { inherit system specialArgs;
modules = [ ./nix/darwin/hosts/xerneas ]; };
comfey = nix-darwin.lib.darwinSystem { inherit system specialArgs;
modules = [ ./nix/darwin/hosts/comfey ]; }; }; };}