summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix17
1 files changed, 12 insertions, 5 deletions
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