summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <[email protected]>2026-10-14 23:08:40 +0200
committeralex <[email protected]>2026-10-14 23:08:40 +0200
commitd1e98074348961e6e17a42eab3fc3a051ab022af (patch)
treede8a0bf4be399c238a34807d0418cdf002a85a1b
parent0dd7600f929a6e00be00ee2e58d17e12820f1d70 (diff)
downloadnixos-d1e98074348961e6e17a42eab3fc3a051ab022af.tar.xz
nixos-d1e98074348961e6e17a42eab3fc3a051ab022af.zip
added opencode
-rw-r--r--flake.lock41
-rw-r--r--flake.nix2
-rw-r--r--nixos/configuration.nix6
3 files changed, 43 insertions, 6 deletions
diff --git a/flake.lock b/flake.lock
index d00bf86..ada543e 100644
--- a/flake.lock
+++ b/flake.lock
@@ -572,6 +572,22 @@
},
"nixpkgs_3": {
"locked": {
+ "lastModified": 1756288264,
+ "narHash": "sha256-Om8adB1lfkU7D33VpR+/haZ2gI5r3Q+ZbIPzE5sYnwE=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "ddd1826f294a0ee5fdc198ab72c8306a0ea73aa9",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixpkgs-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "nixpkgs_4": {
+ "locked": {
"lastModified": 1791594108,
"narHash": "sha256-XK4KceonkwD8LuMAt/vNrz982mXJM5jeHAxMwsUXXAQ=",
"owner": "nixos",
@@ -586,7 +602,7 @@
"type": "github"
}
},
- "nixpkgs_4": {
+ "nixpkgs_5": {
"locked": {
"lastModified": 1791594108,
"narHash": "sha256-V0WmebqwEeAVZMqxfv7Dq7hpKkPPM19W50xQf3D1Kf4=",
@@ -599,6 +615,24 @@
"url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"
}
},
+ "opencode-flake": {
+ "inputs": {
+ "nixpkgs": "nixpkgs_3"
+ },
+ "locked": {
+ "lastModified": 1771442093,
+ "narHash": "sha256-DWRdWWS1luEuWgd0pYydmp97MdvfVGdsI8gnWfygNFg=",
+ "owner": "AodhanHayter",
+ "repo": "opencode-flake",
+ "rev": "049b5b433ac88f05453d23a67a6d7ac8f62ea0b1",
+ "type": "github"
+ },
+ "original": {
+ "owner": "AodhanHayter",
+ "repo": "opencode-flake",
+ "type": "github"
+ }
+ },
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
@@ -654,6 +688,7 @@
"hyprland": "hyprland",
"lanzaboote": "lanzaboote",
"nixpkgs": "nixpkgs_2",
+ "opencode-flake": "opencode-flake",
"serpantinum": "serpantinum",
"spicetify-nix": "spicetify-nix"
}
@@ -681,7 +716,7 @@
},
"serpantinum": {
"inputs": {
- "nixpkgs": "nixpkgs_3",
+ "nixpkgs": "nixpkgs_4",
"serpantinum-wallpapers": "serpantinum-wallpapers"
},
"locked": {
@@ -716,7 +751,7 @@
},
"spicetify-nix": {
"inputs": {
- "nixpkgs": "nixpkgs_4",
+ "nixpkgs": "nixpkgs_5",
"systems": "systems_2"
},
"locked": {
diff --git a/flake.nix b/flake.nix
index 053ae0e..86907b6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,6 +12,8 @@
hyprland.url = "github:hyprwm/Hyprland";
serpantinum.url = "github:ilyamiro/serpantinum";
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
+
+ opencode-flake.url = "github:AodhanHayter/opencode-flake";
helium-flake.url = "github:oxcl/nix-flake-helium-browser";
helium-flake.inputs.nixpkgs.follows = "nixpkgs";
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index 66517e9..5d28495 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -156,8 +156,7 @@ fonts.packages = with pkgs; [
neovim
firefox-bin
cliphist
- easyeffects
- lmstudio
+ easyeffects
vscodium
pulseaudio
inotify-tools
@@ -173,6 +172,7 @@ fonts.packages = with pkgs; [
papirus-folders
glib
cliphist
+ inputs.opencode-flake.packages.${pkgs.stdenv.hostPlatform.system}.default
inputs.serpantinum.packages.${pkgs.stdenv.hostPlatform.system}.default
(prismlauncher.override {
# Include required JDKs for various Minecraft versions
@@ -201,7 +201,7 @@ fonts.packages = with pkgs; [
};
programs.steam = {
- enable = true;
+ enable = true;
};
programs.spicetify = let