diff --git a/hosts/oren/flake.lock b/hosts/oren/flake.lock index baa7614..9867bd0 100644 --- a/hosts/oren/flake.lock +++ b/hosts/oren/flake.lock @@ -32,11 +32,11 @@ "ragenix": "ragenix" }, "locked": { - "lastModified": 1742440358, - "narHash": "sha256-Ri44GPI4DgrOGCB7QmCA/PL7BsyDvo8946qnHiLdKLY=", + "lastModified": 1742742373, + "narHash": "sha256-yYkiH4e848Nk770DdavDlI82vuQEcMU/qBSLQJDdN8U=", "ref": "refs/heads/master", - "rev": "810b4ac192d26b5841fae92128680960b5b58488", - "revCount": 383, + "rev": "cfbf8675b064fcb27caa1a0ef61ccfd80f984907", + "revCount": 387, "type": "git", "url": "https://git.joshuabell.xyz/dotfiles" }, @@ -160,6 +160,22 @@ "type": "github" } }, + "nixpkgs-unstable": { + "locked": { + "lastModified": 1742669843, + "narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "1e5b653dff12029333a6546c11e108ede13052eb", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1742069588, @@ -1161,6 +1177,7 @@ "inputs": { "common": "common", "nixpkgs": "nixpkgs_4", + "nixpkgs-unstable": "nixpkgs-unstable", "ros_neovim": "ros_neovim" } }, diff --git a/hosts/oren/flake.nix b/hosts/oren/flake.nix index eab7ad5..a63bc1e 100644 --- a/hosts/oren/flake.nix +++ b/hosts/oren/flake.nix @@ -1,7 +1,7 @@ { inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; - # nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; # Use relative to get current version for testing # common.url = "path:../../common"; @@ -13,6 +13,7 @@ outputs = { nixpkgs, + nixpkgs-unstable, common, ros_neovim, ... @@ -42,6 +43,12 @@ qdirstat ]; + services.ollama = { + enable = true; + package = nixpkgs-unstable.legacyPackages.x86_64-linux.ollama; + acceleration = "rocm"; # cuda for NVIDA; rocm for amd; false/default for neither + }; + ringofstorms_common = { systemName = configuration_name; boot.systemd.enable = true;