summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authoralex <[email protected]>2026-10-15 00:01:26 +0200
committeralex <[email protected]>2026-10-15 00:01:26 +0200
commitf38e4bac71d8b8e39e8865968dbb330c09123b28 (patch)
tree9df465aa063871ac240bc64acd59fd825c83c787 /flake.nix
parentd1e98074348961e6e17a42eab3fc3a051ab022af (diff)
downloadnixos-f38e4bac71d8b8e39e8865968dbb330c09123b28.tar.xz
nixos-f38e4bac71d8b8e39e8865968dbb330c09123b28.zip
added opencode
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