feat: opencode

This commit is contained in:
Anish Lakhwara
2025-12-13 00:40:32 -08:00
parent e5fed2cdaf
commit c23de0c990
15 changed files with 430 additions and 13 deletions
+12 -1
View File
@@ -1,6 +1,11 @@
{
description = "Sealight NixOS Config";
nixConfig = {
extra-substituters = [ "https://cache.numtide.com" ];
extra-trusted-public-keys = [ "niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g=" ];
};
inputs = {
# Nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
@@ -71,6 +76,9 @@
inputs.nixpkgs.follows = "nixpkgs";
};
# LLM Agents
llm-agents.url = "github:numtide/llm-agents.nix";
# Others
nur.url = "github:nix-community/NUR";
rust-overlay = {
@@ -95,7 +103,7 @@
outputs = { self, nixpkgs, unstable, nixos-hardware, home-manager, deploy-rs
, agenix, disko, basant, grasp, nix-matrix-appservices, nur, tidalcycles
, rust-overlay, vimwikicli, autohide-tdrop, darwin, nix-homebrew, homebrew-bundle
, homebrew-core, homebrew-cask, jovian, tangled, ... }@inputs:
, homebrew-core, homebrew-cask, jovian, tangled, llm-agents, ... }@inputs:
let
forAllSystems = nixpkgs.lib.genAttrs [
"aarch64-linux"
@@ -258,6 +266,7 @@
nix.registry.unstable.flake = unstable;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.anish = import ./home/gui;
}
];
@@ -320,6 +329,7 @@
nix.registry.nixpkgs.flake = nixpkgs;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.anish = import ./home/dev;
}
];
@@ -362,6 +372,7 @@
users.anishlakhwara = import ./home/darwin;
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
};
}
];