Use unstable ollama-cuda and pin gemma4:e4b
This commit is contained in:
parent
2e5565d2de
commit
a72accde1a
4 changed files with 47 additions and 5 deletions
15
flake.nix
15
flake.nix
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-25.11";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -11,7 +12,7 @@
|
|||
nix-openclaw.url = "github:openclaw/nix-openclaw";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, agenix, nix-openclaw, ... }:
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, agenix, nix-openclaw, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
in {
|
||||
|
|
@ -21,7 +22,17 @@
|
|||
modules = [
|
||||
./hosts/Nixos/configuration.nix
|
||||
agenix.nixosModules.default
|
||||
{ nixpkgs.overlays = [ nix-openclaw.overlays.default ]; }
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
nix-openclaw.overlays.default
|
||||
(final: prev: {
|
||||
unstable = import nixpkgs-unstable {
|
||||
inherit system;
|
||||
config = prev.config;
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue