diff options
| author | alex <[email protected]> | 2026-10-15 00:01:26 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2026-10-15 00:01:26 +0200 |
| commit | f38e4bac71d8b8e39e8865968dbb330c09123b28 (patch) | |
| tree | 9df465aa063871ac240bc64acd59fd825c83c787 /flake.nix | |
| parent | d1e98074348961e6e17a42eab3fc3a051ab022af (diff) | |
| download | nixos-f38e4bac71d8b8e39e8865968dbb330c09123b28.tar.xz nixos-f38e4bac71d8b8e39e8865968dbb330c09123b28.zip | |
added opencode
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -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 |
