From f38e4bac71d8b8e39e8865968dbb330c09123b28 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 15 Oct 2026 00:01:26 +0200 Subject: added opencode --- flake.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 86907b6..a0e0f9d 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,8 @@ serpantinum.url = "github:ilyamiro/serpantinum"; spicetify-nix.url = "github:Gerg-L/spicetify-nix"; - opencode-flake.url = "github:AodhanHayter/opencode-flake"; + ocnix.url = "github:albertov/opencode-nix"; + opencode.url = "github:sst/opencode"; helium-flake.url = "github:oxcl/nix-flake-helium-browser"; helium-flake.inputs.nixpkgs.follows = "nixpkgs"; @@ -28,16 +29,22 @@ nixpkgs, lanzaboote, home-manager, + ocnix, + opencode, ... } @ inputs: let in { # NixOS configuration entrypoint # Available through 'nixos-rebuild --flake .#your-hostname' nixosConfigurations = { - phosphophyllite = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs;}; + phosphophyllite = nixpkgs.lib.nixosSystem { + specialArgs = { inherit inputs opencode; }; # > Our main nixos configuration file < - modules = [./nixos/configuration.nix]; + modules = [ + { nixpkgs.overlays = [ ocnix.overlays.default ]; } + ocnix.nixosModules.opencode + ./nixos/configuration.nix + ]; }; }; @@ -54,4 +61,4 @@ }; }; }; -} +} \ No newline at end of file -- cgit v1.2.3